Update in get_hyperbolic_distance