updated view for each query and the suggestions