support PUT replace via update
Merge pull request #36 from ploslabs/feature/support_put

support PUT replace via update