refactor dm2 controller
 => update dm2 code (link)
 => deploy & test