TreeNode update