add script to update search index