Update BatteryPackRepository.php