added some update
changed to using platformservice ref from http client