commit of codebook