   message.title.trim().length == 0 and
   message.body.trim().length == 0
 
+_noLongerRoot = (message) ->
+  Messages.update message,
+    $unset:
+      submessageCount: ''
+      submessageLastUpdate: ''
+
 _submessagesChanged = (root) ->
   return unless root?
   Messages.update root,

      parent: parent
      position: position
      oldParent: oldParent
    if importing
      #cmsg = Messages.findOne child
      doc.updator = cmsg.creator

          $set: root: root ? child  ## actually must be root
        ,
          multi: true
        _noLongerRoot child if root?
      _submessagesChanged cmsg.root     ## old root
      _submessagesChanged root ? child  ## new root
    doc =
