update codebook to reflect recent edits