preparing for upgrade