add 'deleteConstraint' and 'updateConstraint' to NonlinearProgram