fix install bug related to update check