update for classification and extracting decoding messages