update to euclidean