Codebook udate