update shuffle.