Improved change team name based on change team API function