updated index, added upload, included db export