update title of document