refresh_database.py error fixed.