use upload instand of put
Merge pull request #39 from caok/master

use upload instand of put