update the Query,and next do setting

update the Query,and next do setting