Revert "Change inserts to upserts in mongoclient"

This reverts commit 7fa5412b90eb9146729e4f084a0175c3d9e664dc.