Updated queryBuilder example to v3