Update TaskController.php