put sqp first and update lambdas after qp