Update rethinkdb to the new API