Just go into production then tap on your HQ - this option may or may not be available depending on its level. Upgrading requires materials. You cannot upgrade when under siege, so keep that in mind. You can also tap on your HQ and then select "credit management" to get the required materials for upgrading by purchasing them with financial bonds (short-term loans).