Update sms vars in global and ts tools