Update treenode.py