update the app js