edit codebook more