update to code book