update the layout again