updating index file for printing generic links