update search api