check for upgrade