update BTree