update the style of main page.