update pipeline.sh