Where is isUpgrade used?