fixed issue #92 update definition model if a root element is removed
fixed issue #99 moving child to root in presentation doesn't work