record a version of codebook