fixed db_reset.sh to correctly drop and update the db