Updated query method and report method.