update pipeline code