Fix: 'upsert' is now 'replace' https://github.com/rethinkdb/rethinkdb/issues/1838