Most of this is modifications to check for differences before updating data fields in team struct. There is also some rearrangement of team struct.
LGTM