update css in layout