Fix a bug in iteration update (topology didn't update with the iteration update)