Updates the intention of the document.