Simplfied upgrade conditional.