changes to upgrade like stuff