Commit the code book