updated notebook example