Upgrading rethinkdb to v14

Upsert command has been removed from rethinkdb v14.