update output, add email