Update the layout model