update files from class