Updating index file