MongoClient has deprecated safe mode on by default, change it to w option (Write Concerns)