Update minigame states script.