updated the title to reflect the title of the page