In the Object Editor, find the Art - Required Animation Names and set it for example : upgrade, first or upgrade, second...etc
You can view a unit's animations through the World Editor by clicking on it (On the left of the screen) and you'll see what animation it uses for the alternate version.