title: Updating embedded document property in Mongodb
body: <p>I have a document that looks like this:</p>
  
  <pre><code>{
      "_id": 3,
      "Slug": "slug",
      "Title": "title",
      "Authors": [
          {
              "Slug": "slug",
              "Name": "name"
          }
      ]
  }
  </code></pre>
  
  <p>I want to update all Authors.Name based on Authors.Slug.
  I tried this but it didn't work:</p>
  
  <pre><code>.update({"Authors.Slug":"slug"}, {$set: {"Authors.Name":"zzz"}});
  </code></pre>
  
  <p>What am I doing wrong here?</p>