Plugin update, randomizer function