Hi,
Inside the loop, make a change object, Map the iterator object in the corresponding association, and Store the changed object in the Change list activity and you have to commit the List outside the loop.
looks like you are setting the association as set inside the loop. you need to set the association as add.