adding the reference field data to the new entities being created