Closed-Loop Updates for diabetes