(#17) replace and update publishers now return a promise.
Merge branch 'feature/17-let-resource-publishers-return-promise'