The Colonists
What happens to the goods on a Storage Facility when you upgrade it?
The worker on it becomes unemployed and the goods are set aside while the facility is flipped. If you immediately employ the new colonist type, the goods go back onto the upgraded facility and can stay there while you sustain that worker. Otherwise they must be moved to other storage, and any that do not fit are lost.