To upgrade your factory, click on the "Upgrade" button in the main menu. This will take you to the upgrade screen where you can purchase upgrades for your factory.