adding support for the put cmd