updated BST mapping