index.ts: update indexes