query, query ui update, #378