the only upgrade i know is when u destroy structures in base enemie
they dont use anytrigger just creat 2xnew units with your stats .exemple
(((Objet Editor)))
(((Unit1)))creat 1xunit with damage 15 defense 2 life 600! non upgrade
(((Unit Upgrade)))creat 1xunit with damage 30 defense 5 life 1000! (upgrade)
=====================================
When they destroy the structure (requires for upgrade)
than just use trigger to change the spawning units (((unit 1)))
and spawn (((unit Upgrade))).
and also in time.... like
time elasped 600 seconds.
than u change the (((unit 1))) to (((unit Upgrade))