changed upload to use httpclient