Updated the BTree Search Method