Update queryWithDistance.php