Update index structure and generation