update decoding - update spec