support for put and delete methods