Update the style of th pages