updates notebook file