mode edits to index