rest client update