Changed rest client