updated the layout