mdm: rebuild