updates style sheets and layout