updates the populate_db script