update query.html