adapt to changes in Pipeworks API