This looks like it beongs entirely in it's own method that accepts two arguments: team_id and a hash of team_members