changes index file