Update in encode, decode, calculateChecksum