The production facilities can be upgraded. After that, the structure is able to produce more advanced technology.
To improve the structure, select it, enter the Modification Mode

and select the appropriate modification. All available modifications are highlighted in red. When the upgrade is complete you will be able to produce these units before the end of the mission.

The energy consumption by a specific structure is also displayed here.

An important part of any decent Base is a radar.

It opens the mini-map in the upper right corner.

You can use it to assess the situation and the balance of enemy forces to be proactive.