update the headers