add codebook to repository