fixes #282 add PATCH support