updates the header a bit