Update Distance In BST