A study on management of type 2 diabetic patients with complications