Updating $index.json files when a change record is persisted stored