update sendsms fetion func