updates centering of header