update to the layout