update teams with linked rows