updating dist