title: How to change attribute name of the embed type?
body: <p>How I can change the name of the embed type by query $rename?</p>
  <p><code>{ list_name: [{ name_1: String }] } =&gt; { list_name: [{ name_2: String }] }</code></p>
  <p>I tried <code>db.getCollection('test').updateMany({}, { $rename: { 'list_name.name_1': 'name_2' }})</code></p>
  <p>But it's throwing an error: <code>WriteError: cannot use the part (list_name of list_name.name_1) to traverse the element ({list_name: [ { name_1: &quot;test&quot; } ]})</code></p>