Update lib-controller.coffee