Randomized the update method. Now failing a test sometimes.