update styling for pages