update changes for query.tex