modify trait when upgraded state is toggled