Delete and update files