INS and acute pancreatitis: Melatonin was reported to regulate insulin secretion and has a protective effect on endoplasmic reticulum stress in an experimental acute pancreatitis model [17].