Add catch for updating
Merge pull request #6 from fkmhrk/fix-put

Fix put