edit of index file