update baseQuery