Diabetes induced dementia

i heard it was either vascular or high insulin in type 2