change hub to ccobject subclass, not ccnode