Add update and destroy to categories

* Refactor controllers
Refactor controllers