query("UPDATE `items` SET `rand_key` = RAND() WHERE id = {$item->id}"); } }