Update title of document