add/remove a node/link dynamicly