added pre upgrade support