update page and window title