change default underlying api call for search method