Update CategoryRepository.php