Update headers and footers