updating random index during dithering