def sync_state(adageobj, backend=None):
    """
    Synchronize with Backend to update node processing status

    :param adageobj: the adage workflow object
    :return: None
    """
    for node in adageobj.dag.nodes():
        adageobj.dag.getNode(node).update_state(backend=backend)
