update the layout page