edit formatting for codebook