Update to the new search API.