update files and category destroying