title: Changing a value in a listfield of embedded documents on MongoEngine
body: <p>I am learning how to use MongoEngine and MongoDB, and I know how to query over Listfield(EmbeddedDocumentField) from this question: </p>
  
  <p><a href="https://stackoverflow.com/questions/9241408/cant-query-over-listfieldembeddeddocumentfield">can&#39;t query over ListField(EmbeddedDocumentField)</a></p>
  
  <p>Sort of nasty. Kind of wish there was something easier than that.</p>
  
  <p>I know how to change the name of an agent using the same example from the link: </p>
  
  <pre><code>Agent.objects(name="Brenna Li").update_one(set__name="Brenna Smith")
  </code></pre>
  
  <p>But how can I change a value inside an embedded document in a listfield? For example, what is the code I need to change Brenna Li's skill level in C++ from a 6 to a 8 and her skill level in Java from 4 to a 5?</p>