updating header spacing and center spacing