updated the style of the layout