DEMU to MEMU upgrade