update email template reference