update index.json during download