update headers.