fix teams/edit

fixes #31