Added update method to QueryBuilder.