updates dist