Update TeamsController.php