title: Mongoose document references with a one-to-many relationship
body: <p>I'm working on designing a database structure for a new project, and I'm pretty new to MongoDB, and obviously Mongoose.</p>
  
  <p>I've read Mongooses <a href="http://mongoosejs.com/docs/populate.html" rel="noreferrer">population</a> documentation, where it has a one-to-many relationship, with one <code>Person</code> document to many <code>Story</code> documents, but the part that confuses me is where instead of the <code>Story</code> documents referencing what <code>Person</code> document it belongs to, the <code>Person</code> schema has it setup so it has an array of what <code>Story</code> documents it 'owns'.</p>
  
  <p>I'm setting up something very similar to this. But I keep thinking it would be easier when creating new <code>Story</code> documents to have the <code>Person</code> document ID. But maybe thats just because I'm more familiar with MySQL relationships using joins.</p>
  
  <p>If this is the best way to do it (and I'm sure it is, since its in the docs), when new <code>Story</code> documents are created, whats the best way to update the array of stories in the associated <code>People</code> document it belongs to? I looked but couldn't find any examples of updating existing documents to add references to other documents (or deleting them for that matter)</p>
  
  <p>I'm sure this is an easy solution that I just overlooked or something, but any help would be great. Thanks!</p>