updated query helper doc