Update gen-index to include an index.
Update index.