Question: a quick one:

Why is Mongoose change/upgrading the \_id field of a document when I push an update?
Is this an intended behavior?

Thanks.

This is the update I use inside my PUT route, and it returns successfully the updated model, but unfortunately with a new \_id for doc

```
Document.findById(req.params.doc_id, function (err, doc) {
    if (err)
        res.send(err)

    // Do some subdoc stuff here …

    doc.save(function (err) {
        if (!err) {
            console.log('Success!');
            res.json(doc);
        } else {
            console.log(err);
        }

    });
});

```

Answer: 
Replace

```
override init(context: AnyObject?) {
    // Initialize variables here.
    super.init(context: context)

    // Configure interface objects here.

    NSLog("%@ init", self)

}

```

with 

```
override func awakeWithContext(context: AnyObject?) {
    super.awakeWithContext(context)

    // Configure interface objects here.
    NSLog("%@ awakeWithContext", self)
}

```

Clean your project then build and run
`init(context: AnyObject?)` does not exist anymore. For initialization just use `init` and then use `awakeWithContext` to initialize from context.