fix install upgrade

if upgradeable 0 cant  upgade