Update Decode() method