Update main_ctrl.coffee