updated the code book