update distance.html