Smart nanotechnology for more accurate delivery of insulin