Improve mongo_object commit