added upload handling example