update style of main page