query builder updates