Updating Dist