commit the controller