Added support for PUT requests