Added else to update check