necessary changes for package upgrades