edit of index