adapted plugin to new parent/child wording in dm-core 4.1