Removed decoding from update command. Added total size to decode