You can try something like this:
db.posts.update({ _id: ObjectId( "510a3c5382d395b70b000034" ) },
{
$push: { comments: { "_id" : ObjectId( "..." ),
"authorId" : ObjectId( "..." ),
"content" : "",
"createdAt" : Date(...) } }
})