Update smsManager.js