update styles for subpages