Add post_bug to URL conditions; pass JSON to update function.
Merge pull request #13 from hoosteeno/master

Add post_bug to url conditions