Update the code book