Replace MongoClient with db_connection
Pass write_concern flag to MongoClient, turns out it is turned off by default
Update