added query parameters for query action