start Upload function