great update: simplified code, adding and editing team name works