changing & editing index file