Added support for PUT request