Implemented error service in updateTeam