updates to dme model and message handling