Updating the CodeBook