Added implementation for UpdateCategoryController class.