Add support for PUT and PATCH