upgrades to latest version