teams.php updated