commit codebook