Update check_master_node.py