updating styles and layouts