title: Updating Value of Array Element in MongoDB
body: <p>I'd like to know how to update the "value" field of one of the elements identified by the "name" field in the array "array_of_stuff".  For example, I want to update the value for "name_of_thing_1" to "new_value_of_thing_1".  How can I do this <b>ONLY</b> using the second parameter (i.e. the update parameter) to the update command.  I am re-using a class library written in-house I don't have control over the first argument to the update command (i.e. the query parameter).  Is this possible?</p>
  
  <pre><code>{
  "array_of_stuff": [
      {
          "name": "name_of_thing_1",
          "value": "value_of_thing_1",           
      },
      {
          "name": "name_of_thing_2",
          "value": "value_of_thing_2",
      }
  ]
  }
  </code></pre>
  
  <p>Thanks for your help!</p>