Update TasksController.php