add basic edit function for teams

It's very basic, but atleast you can edit a team. All team members can edit a team this way, that might not be something you want.