Update TeamController.php