edit code book