Fixed issue of REST PUT calls.