updates dist.