update pages.