added upload node
fixed tmp file issue