Updated controller.