modify header of the index