add parent for treenode