update for affinity changes