Update battle.php