There are way to many cases in which buildings would not upgrade for one reason or another. A "upgrade all now" button somewhere in the menu that you could click to tell the game to scan all planets and try to upgrade all buildings would be an ideal workaround...