Added line to update portfolio and deactivate expiries
Begun to add handling of successful publish