editing codebook