update labels for each page.