updated task_controller and model