Update error-codes for units