updated the image processing service to use the newly available pipeline api