modify the pipeline graph with the forward unit