update response header, update search api