update codebook and readme