changed codebook