Adding PATCH support to client