update pipe example