modify the query report