added check to determine if product is upgradeable