update pipeline api