add prompt to index.