updated the index template