updat emodel snippet for 2,0