replace webhook with publication resource