add upgrade client
Merge pull request #3 from cowboy129/master

add upgrade client