Update header and pre tags