changed query for qms manager