Update README.md

Added docs for publish and waitFor