title: How to modify Database from UI in Meteor App
body: <p>I am new to meteor and want to modify database document from the user interface, </p>
  
  <p>I understand that we have to use <a href="http://docs.meteor.com/#/full/update" rel="nofollow">update function</a> but unable to use it as I want to edit the collection from UI on click command, please suggest how to go about it.</p>
  
  <p>Arguments</p>
  
  <p><strong>selector</strong> Mongo Selector, Object ID, or String</p>
  
  <pre><code>Specifies which documents to modify
  </code></pre>
  
  <p><strong>modifier</strong> Mongo Modifier</p>
  
  <pre><code>Specifies how to modify the documents
  </code></pre>
  
  <p><strong>callback</strong> Function</p>
  
  <pre><code>**Optional**. If present, called with an error object as the first argument and, if no error, the number of affected documents as the second.
  </code></pre>
  
  <p>Please suggest how to use modifier.</p>