format edits to Codebook