getStDists update