Update headers and footers.