added some security to autoupdater