Update distance.php