update report query