update qp definition