Dr. Richard A. Anderson, at the Human Nutrition Research Center (USDA), found that people who eat apple pie have a significantly lower probability of getting Type II diabetes. Upon further examination, he isolated cinnamon as the substance in the apple pies that was preventing diabetes. Within cinnamon, the key substance is a water soluble polyphenol type-A polymer as the effective ingredient. Here is a link to the article:
Today, 425 million adults live with diabetes, and that number is expected to grow to 629 million by 2045, with the greatest number between the ages of 40 to 59 years old. The global prevalence of diabetes has risen from 4.7 percent in 1980 to 8.5 percent in 2014, with the proportion of type 2 diabetes increasing around the world. On top of those numbers, another whopping 352 million people are at risk of developing type 2 diabetes. According to the 2017 Economic Cost of Diabetes survey sponsored by the American Diabetes Association, the total cost of diabetes was estimated to be $327 billion, a 26 percent increase since 2012. About three-quarters of those costs are associated with direct medical expenditures. Patients with diabetes are expected to pay an average of $9,600 in additional medical costs annually. A diabetes cure could cut out a nice chunk of fat out of those costs, potentially worth $245 billion from the 30 million diabetic Americans alone.
Diabetes is a disease that occurs when your blood glucose, also called blood sugar, is too high. Blood glucose is your main source of energy and comes from the food you eat. Insulin, a hormone made by the pancreas, helps glucose from food get into your cells to be used for energy. Sometimes your body doesn’t make enough—or any—insulin or doesn’t use insulin well. Glucose then stays in your blood and doesn’t reach your cells.
The primary complications of diabetes due to damage in small blood vessels include damage to the eyes, kidneys, and nerves.[32] Damage to the eyes, known as diabetic retinopathy, is caused by damage to the blood vessels in the retina of the eye, and can result in gradual vision loss and eventual blindness.[32] Diabetes also increases the risk of having glaucoma, cataracts, and other eye problems. It is recommended that diabetics visit an eye doctor once a year.[33] Damage to the kidneys, known as diabetic nephropathy, can lead to tissue scarring, urine protein loss, and eventually chronic kidney disease, sometimes requiring dialysis or kidney transplantation.[32] Damage to the nerves of the body, known as diabetic neuropathy, is the most common complication of diabetes.[32] The symptoms can include numbness, tingling, pain, and altered pain sensation, which can lead to damage to the skin. Diabetes-related foot problems (such as diabetic foot ulcers) may occur, and can be difficult to treat, occasionally requiring amputation. Additionally, proximal diabetic neuropathy causes painful muscle atrophy and weakness.
Chronic pain creates several vicious cycles. For one, people tend to tense their muscles in response to pain, which often makes the pain worse. Pain also leads people to stop moving, which leads to increasing stiffness and more pain. Pain can interfere with sleep, and restless nights can increase pain. Pain also can contribute to depression and painful emotions such as anger, grief, fear, and frustration, which in turn contribute to pain.
Efforts to cure or stop type 1 diabetes are still in the early stages, and these approaches will also not be suitable for people that have already lost their insulin-producing cells. A solution could be the creation of an “artificial pancreas” — a fully automated system that can measure glucose levels and inject the right amount of insulin into the bloodstream, just like a healthy pancreas would.

“I am extremely pleased to see that technology developed in Tejal Desai’s group is getting to the point that we can explore this for therapeutic purposes,” Matthias Hebrok, PhD, the director of the Diabetes Center at UCSF and a member of Encellin’s scientific advisory board, noted on the UCSF website. “Encapsulation and protection of islet cells remain a critical hurdle that needs to be overcome before cell therapy becomes a reality in type 1 diabetes.”
These diabetes complications are related to blood vessel diseases and are generally classified into small vessel disease, such as those involving the eyes, kidneys and nerves (microvascular disease), and large vessel disease involving the heart and blood vessels (macrovascular disease). Diabetes accelerates hardening of the arteries (atherosclerosis) of the larger blood vessels, leading to coronary heart disease (angina or heart attack), strokes, and pain in the lower extremities because of lack of blood supply (claudication).
Some of these problems are skin conditions anyone can have, but people with diabetes get more easily. These include bacterial infections, fungal infections, and itching. Other skin problems happen mostly or only to people with diabetes. These include diabetic dermopathy, necrobiosis lipoidica diabeticorum, diabetic blisters, and eruptive xanthomatosis. 
A computer-controlled algorithm connects the CGM and insulin pump so they communicate. As the CGM detects high blood sugar, the pump knows to provide a specific amount of insulin. The goal is to provide the patient with more normalized and ideal blood sugar management without the constant hassle of decisions by the patient who is presumably allowed to live a more normal life.
Family or personal history. Your risk increases if you have prediabetes — a precursor to type 2 diabetes — or if a close family member, such as a parent or sibling, has type 2 diabetes. You're also at greater risk if you had gestational diabetes during a previous pregnancy, if you delivered a very large baby or if you had an unexplained stillbirth.