Revised protocol and removed type attribute, slightly modified update_node() in manager.py