updated reset db script