Update to latest mongo API