update treenode.rb