update the layout to base