API update

* Updated for new pwf relations api