adding support for the PATCH method