Right now we only support upsert for replacement documents. Research and implement it for other operations, like `$set` or `$inc`.