Updates the find method to use a better search algorithm