update on codebook