edits to index