Update Code book