Update data_to_db_2.py

updated also the code about the DB (eliminated the seed dependency basically, altough later we will have to reintroduce it)