title: Python MongoDB: How to add a nested dictionary to a key in an existing Document
body: <p>I have been using Python for a while and want to learn DBs now. I am trying to learn MongoDB.</p>
  <p><strong>Goal</strong>: To add a Nested dictionary to a key in a pre existing document.</p>
  <p>I am using Pymongo for this.</p>
  <p>Like for ex. I have this-</p>
  <pre><code>{'name':'Ryan', 'titles':[{'title_name':'Victory Set'}]}
  </code></pre>
  <p>And I want to add another dictionary in <code>titles</code> key, so that it looks like this-</p>
  <pre><code>{'name':'Ryan', 'titles':[{'title_name':'Victory Set'}, {'title_name':'Bronze Trial'}]}
  </code></pre>
  <p>I have seen you can use <code>update_one</code> or <code>update_many</code> to update a pre existing value, but couldn't find for adding new data.
  How can I achieve this?</p>