updating index header