Update application/classes/model/category.php