add update to JsonObject
Merge pull request #16 from dannyroberts/update

add update to JsonObject