Research could pave way to cure for type 2 diabetes