update page title for each page