Add update func for sms templates