Correctly update files