Update calculator.php