```\nfunction submitNewGuardianSet(bytes memory _vm) public {\n    // rest of code\n\n    // Trigger a time-based expiry of current guardianSet\n    expireGuardianSet(getCurrentGuardianSetIndex());\n\n    // Add the new guardianSet to guardianSets\n    storeGuardianSet(upgrade.newGuardianSet, upgrade.newGuardianSetIndex);\n\n    // Makes the new guardianSet effective\n    updateGuardianSetIndex(upgrade.newGuardianSetIndex);\n}\n```\n