Upgrade before install