Edit Index file