Update Shuffle() method.