update files and email