Set secret token when updating search index.