When adding both parent and child records, the child record is ignored, and when updating a parent record, the child record is deleted if it exists.
public