added Edit Team functionality