Update rectangle query to retrieve all variables.