Callback fct added to MongoDB update call

Fixes #83.