update graph for async support