update update.cgi to make update more "safe".