codebook, .r update