Update points_calc.php