update path on team edit