update the pipeline