update to codebook

codebook update