Updates for units to code book