updating online optimization
update notebook