Update controller.coffee