fix put & delete webservice method