update Code Book