Update topology affinity_maps to include networks