updates title of the page