updated BTree