Models from 2007 onwards has 16 bytes long ISN (secret key). To write ISN into CAS, connect to it, go to "Extra options", Read/Write ISN

Replace shown old ISN with new one from DME and press "Write" button. After successful operation your car is ready to start.