<div class="qm-html-paragraph">The update function is where existing elements should be updated with new data. Typically this will involve updating the text value of a element to match the new data supplied. </div><div class="qm-html-paragraph">An example update function that would do just that is: </div><div class="qm-html-paragraph"><div class="qm-code-highlight-codeblock"><pre><code class="qm-code-font"><span class="hljs-keyword">view</span>.<span class="hljs-keyword">update</span>(<span class="hljs-keyw