check for updates in applicationDidFinishLaunching