private void updateChildCount(int change) throws IOException {
		childCount += change;
		record.setIntValue(ModuleDBAdapter.MODULE_CHILD_COUNT_COL, childCount);
		moduleAdapter.updateModuleRecord(record);
	}
Use the given list to get the child order and update each record.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDB.java