use refactored rethinkdbclient