As a Roman faction in the Imperial campaign, you get access to stronger units after the Marian Reform. Once it kicks in, most of your existing troops transform into more powerful versions, such as the Urban Cohort, and you can no longer train the older types like Hastati.
The exact timing isn't fixed to a specific turn since it's a global event, but you'll know it's happened when your roster upgrades and the old units disappear from recruitment.