changes for Merchant Queries