Rethinkdb api changes