title: updating and modeling nosql record
body: <p>So in a traditional database I might have 2 tables like users, company</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>id</th>
  <th>username</th>
  <th>companyid</th>
  <th>email</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>j23</td>
  <td>1</td>
  <td>something@gmail.com</td>
  </tr>
  <tr>
  <td>2</td>
  <td>fj222</td>
  <td>1</td>
  <td>james@aol.com</td>
  </tr>
  </tbody>
  </table>
  </div><div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>id</th>
  <th>ownerid</th>
  <th>company_name</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>1</td>
  <td>A Really boring company</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>This is to say that user 1 and 2 are apart of company 1 (a really boring company) and user 1 is the owner of this company.</p>
  <p>I could easily issue an update statement in MySQL or Postgresql to update the company name.</p>
  <p>But how could I model the same data from a NoSQL perspective, in something like Dynamodb or Mongodb?</p>
  <p>Would each user record (document in NoSQL) contain the same company table data (id, ownerid (or is owner true/false, and company name)? I'm unclear how to update the record for all users containing this data then if the company name needed to be updated.</p>