added upload function to the steps