Update the index file with info.