updating params to query for request