Update headers in template