upadating the index with sample paper