Rest updateSample