updating dist with flash