made updates to codebook