now supports upgrades