updated TeamsActivity