Fix for updateCouch
Merge pull request #1 from chris-l/chris-l

Fix for updateCouch