update index header/footer