Update distance.ml