update the application