updating code book (again)