update email templates, thanks page and funtions