Regenerate index.