I unlocked all the technologies needed to upgrade my consulate, but the upgrade button has not appeared. This might be a bug.
You also need the required resources and the required bots in order to get the upgrade. Check the reference located here:
https://www.my-colony.com/reference/?search=consulate