Update category data.
Delete test code.
No update when nothing new file.
Add error check.
Optimize imports.