Update QueryBuilder