update SQP solver