update files with changed content
don't create folder for files in root