added API pipes update test specs and implemented the pipes controller.