commit before updates