updating b-tree search