committing change to index file