That is what clash of clans hack the laboratory is for, for later upgrading units.