Update header, index