update and commit the application