update the way we set the header