update revised template of codebook