added support for PUT