modify the index template