update REST client