Update BatterypackController.php