updates headers