Update to codebook