update (restclient): delete call does not throw exception