update files for db