added upload as blob functionality