Updated the controller.