The Automated Bolus Advisor Control and Usability Study ( ABACUS ) trial , a 26-week , prospective , randomized , controlled , multinational study that enrolled 218 type 1 and type 2 diabetes patients , demonstrated that use of an automated insulin bolus advisor helps improve glycemic control in suboptimally controlled , MDI-treated patients .