Update teams.cpp