pre upgrade