title: How to update an Elasticsearch document in NEST2
body: <p>I have ported my code to NEST 2.0 and Elasticsearch 2.0</p>
  
  <p>I need to find a way to update a document already stored into ES2</p>
  
  <p>I was using the <a href="https://nest.azurewebsites.net/nest/core/update.html" rel="nofollow">partial object technique</a>:</p>
  
  <pre><code>        elastic.Update&lt;myDocumentType, myPartialDocumentType&gt;(u =&gt; u
              .Index(myIndexName)
              .Id(id)
              .Doc(
                  new myPartialDocumentType()
                  {
                      // set the fields to update here
                  })
              .Refresh());
  </code></pre>
  
  <p>How to do the same thing using NEST2?</p>