fix and update enters in codebook file