update BalancedBinaryTree