Update pages layout.