updated decoding of terms and conditions