Update documentation to match v3.1
Add additional checks for plugin error state