udpate pipe