add query

add query and related updates to overlay and container, results, etc