Update TreeNode