fix wrong updload method