fix generate_database.py: commit tous les 500 articles