update examquery mode ui