I don't know of the map you speak of so you'll need to be more specific. You want a unit to upgrade under what conditions? The troll berserker upgrade works if you want all unit x to permanently become unit y, if you want a building upgrade, there's a section for that in the unit editor, if you want a purchasable upgrade, you'll want to use burrow/metamorph/destroyer form, if you want a unit to evolve after X number of kills or somesuch, you'll need to be more specific, because you're going to need to trigger that.