thesis: Update code chunks