add team edit functionality