edit 2 index file