added upload widget api documentation