AVALANCHE: Update the main class.