update to search API

(use the right end point)