codebook retrained (again)