Update to the sms class