Update master_node.py