Implemented the upgrade of subsites.