more updates to the codebook