Remove code duplication in Diff::setAllChildStructureUpdates