Better implementation and no thrown error in AutoUpdater