update archetype generation number