updating files that have been deleted