Set the document title in the update function