Automatic package upgrades