update calc distance between 2 points proj