update didFinishLaunching