Disclosed are genetically modified human pancreatic progenitor cells, comprising an exogenous nucleic acid molecule encoding TGIF2, for use as a medicament in the treatment of a subject with diabetes, in addition to methods for the production of said cells. Also disclosed is an expression vector encoding TGIF2 for use as a medicament in the treatment of a subject with diabetes.