Also don't forget to save parent ENUM after save kids (elements of enum)
//write below lines of code as well after what I provided above
nodeParent = TreeNode::findNode(dictEnum.path());
nodeParent.AOTsave();
nodeParent.treeNodeRelease();
nodeParent = null;