Register changes to association_ids attribute instead of the association name.