updated sms class