update title of pages