adding changes to index file