Update the title through the document object.