updates email trigger