2025-11-26 06:00:01 - --- Starting daily update run --- 2025-11-26 06:00:01 - Running single_state.py... 2025-11-26 06:01:23 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 487 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1035 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 511 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1235 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 45 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 SUCCESS: Document for state_id 8 was updated. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1136 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 896 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 414 SUCCESS: Document for state_id 15 was updated. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 506 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 358 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 457 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 SUCCESS: Document for state_id 21 was updated. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 302 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 510 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 731 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 SUCCESS: Document for state_id 26 was updated. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 SUCCESS: Document for state_id 28 was updated. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 176 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1025 INFO: Document for state_id 31 was found, but no changes were needed. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 682 INFO: Document for state_id 35 was found, but no changes were needed. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 577 INFO: Document for state_id 36 was found, but no changes were needed. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 569 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 SUCCESS: Document for state_id 41 was updated. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 674 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1728 INFO: Document for state_id 43 was found, but no changes were needed. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 297 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-11-26 06:01:23 - Pausing for 120 seconds... 2025-11-26 06:03:23 - Running update_users.py... 2025-11-26 06:09:02 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1418 users in API response. Starting sync with database. - UPDATED existing user with user_id: 1612 - UPDATED existing user with user_id: 1599 - UPDATED existing user with user_id: 1565 - UPDATED existing user with user_id: 1562 - UPDATED existing user with user_id: 1555 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1540 - UPDATED existing user with user_id: 1500 - UPDATED existing user with user_id: 1460 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1423 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1199 - UPDATED existing user with user_id: 1104 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 936 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 879 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 462 - UPDATED existing user with user_id: 426 - UPDATED existing user with user_id: 399 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 360 - UPDATED existing user with user_id: 341 - UPDATED existing user with user_id: 325 - UPDATED existing user with user_id: 190 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 96 - UPDATED existing user with user_id: 90 - UPDATED existing user with user_id: 2 --- Synchronization Complete --- Total users from API: 1418 New users inserted: 0 Existing users updated: 36 Users unchanged: 1382 ----------------------------- Script finished. 2025-11-26 06:09:02 - Pausing for 120 seconds... 2025-11-26 06:11:02 - Running insert_allTrucks.py... 2025-11-26 06:11:12 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 669 trucks in MongoDB 2025-11-26 06:11:12 - Pausing for 120 seconds... 2025-11-26 06:13:12 - Running insert_companies.py... 2025-11-26 06:13:20 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-11-26 06:13:20 - Pausing for 120 seconds... 2025-11-26 06:15:20 - Running insert_trailer.py... 2025-11-26 06:15:39 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1218 trailers... Successfully stored 1218 trailers in MongoDB MongoDB connection closed 2025-11-26 06:15:39 - --- All scripts completed successfully. --- 2025-11-27 06:00:01 - --- Starting daily update run --- 2025-11-27 06:00:01 - Running single_state.py... 2025-11-27 06:01:23 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 SUCCESS: Document for state_id 1 was updated. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1037 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 518 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1238 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 SUCCESS: Document for state_id 7 was updated. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 SUCCESS: Document for state_id 8 was updated. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 SUCCESS: Document for state_id 12 was updated. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 897 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 SUCCESS: Document for state_id 15 was updated. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 509 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 SUCCESS: Document for state_id 19 was updated. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 SUCCESS: Document for state_id 21 was updated. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 512 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 734 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 177 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1031 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 683 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 578 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 570 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 676 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1729 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-11-27 06:01:23 - Pausing for 120 seconds... 2025-11-27 06:03:23 - Running update_users.py... 2025-11-27 06:09:00 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1420 users in API response. Starting sync with database. - INSERTED new user with user_id: 1618 - INSERTED new user with user_id: 1617 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1474 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1192 - UPDATED existing user with user_id: 1168 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 846 - UPDATED existing user with user_id: 790 - UPDATED existing user with user_id: 775 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 546 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 295 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 116 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 32 --- Synchronization Complete --- Total users from API: 1420 New users inserted: 2 Existing users updated: 21 Users unchanged: 1397 ----------------------------- Script finished. 2025-11-27 06:09:00 - Pausing for 120 seconds... 2025-11-27 06:11:00 - Running insert_allTrucks.py... 2025-11-27 06:11:09 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 670 trucks in MongoDB 2025-11-27 06:11:09 - Pausing for 120 seconds... 2025-11-27 06:13:09 - Running insert_companies.py... 2025-11-27 06:13:18 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-11-27 06:13:18 - Pausing for 120 seconds... 2025-11-27 06:15:18 - Running insert_trailer.py... 2025-11-27 06:15:38 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1218 trailers... Successfully stored 1218 trailers in MongoDB MongoDB connection closed 2025-11-27 06:15:38 - --- All scripts completed successfully. --- 2025-11-28 06:00:01 - --- Starting daily update run --- 2025-11-28 06:00:01 - Running single_state.py... 2025-11-28 06:01:23 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 SUCCESS: Document for state_id 1 was updated. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 SUCCESS: Document for state_id 2 was updated. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1037 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 519 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1238 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 SUCCESS: Document for state_id 7 was updated. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 SUCCESS: Document for state_id 8 was updated. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 SUCCESS: Document for state_id 12 was updated. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 897 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 SUCCESS: Document for state_id 15 was updated. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 510 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 SUCCESS: Document for state_id 19 was updated. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 SUCCESS: Document for state_id 21 was updated. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 512 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 734 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 SUCCESS: Document for state_id 26 was updated. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 SUCCESS: Document for state_id 28 was updated. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 SUCCESS: Document for state_id 29 was updated. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 177 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1031 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 SUCCESS: Document for state_id 34 was updated. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 683 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 578 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 570 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 SUCCESS: Document for state_id 39 was updated. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 SUCCESS: Document for state_id 41 was updated. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 676 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1729 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 SUCCESS: Document for state_id 45 was updated. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 SUCCESS: Document for state_id 47 was updated. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 SUCCESS: Document for state_id 51 was updated. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 SUCCESS: Document for state_id 52 was updated. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 SUCCESS: Document for state_id 59 was updated. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-11-28 06:01:23 - Pausing for 120 seconds... 2025-11-28 06:03:23 - Running update_users.py... 2025-11-28 06:09:10 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1420 users in API response. Starting sync with database. - UPDATED existing user with user_id: 1618 - UPDATED existing user with user_id: 1617 - UPDATED existing user with user_id: 1616 - UPDATED existing user with user_id: 1615 - UPDATED existing user with user_id: 1614 - UPDATED existing user with user_id: 1613 - UPDATED existing user with user_id: 1612 - UPDATED existing user with user_id: 1611 - UPDATED existing user with user_id: 1610 - UPDATED existing user with user_id: 1609 - UPDATED existing user with user_id: 1608 - UPDATED existing user with user_id: 1607 - UPDATED existing user with user_id: 1606 - UPDATED existing user with user_id: 1605 - UPDATED existing user with user_id: 1604 - UPDATED existing user with user_id: 1601 - UPDATED existing user with user_id: 1603 - UPDATED existing user with user_id: 1602 - UPDATED existing user with user_id: 1600 - UPDATED existing user with user_id: 1599 - UPDATED existing user with user_id: 1598 - UPDATED existing user with user_id: 1597 - UPDATED existing user with user_id: 1596 - UPDATED existing user with user_id: 1595 - UPDATED existing user with user_id: 1594 - UPDATED existing user with user_id: 1593 - UPDATED existing user with user_id: 1588 - UPDATED existing user with user_id: 1587 - UPDATED existing user with user_id: 1592 - UPDATED existing user with user_id: 1591 - UPDATED existing user with user_id: 1590 - UPDATED existing user with user_id: 1589 - UPDATED existing user with user_id: 1585 - UPDATED existing user with user_id: 1586 - UPDATED existing user with user_id: 1584 - UPDATED existing user with user_id: 1583 - UPDATED existing user with user_id: 1582 - UPDATED existing user with user_id: 1581 - UPDATED existing user with user_id: 1580 - UPDATED existing user with user_id: 1579 - UPDATED existing user with user_id: 1577 - UPDATED existing user with user_id: 1574 - UPDATED existing user with user_id: 1576 - UPDATED existing user with user_id: 1575 - UPDATED existing user with user_id: 1573 - UPDATED existing user with user_id: 1572 - UPDATED existing user with user_id: 1571 - UPDATED existing user with user_id: 1570 - UPDATED existing user with user_id: 1569 - UPDATED existing user with user_id: 1568 - UPDATED existing user with user_id: 1567 - UPDATED existing user with user_id: 1565 - UPDATED existing user with user_id: 1566 - UPDATED existing user with user_id: 1564 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1562 - UPDATED existing user with user_id: 1556 - UPDATED existing user with user_id: 1555 - UPDATED existing user with user_id: 1554 - UPDATED existing user with user_id: 1553 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1551 - UPDATED existing user with user_id: 1550 - UPDATED existing user with user_id: 1549 - UPDATED existing user with user_id: 1548 - UPDATED existing user with user_id: 1547 - UPDATED existing user with user_id: 1546 - UPDATED existing user with user_id: 1545 - UPDATED existing user with user_id: 1544 - UPDATED existing user with user_id: 1543 - UPDATED existing user with user_id: 1542 - UPDATED existing user with user_id: 1541 - UPDATED existing user with user_id: 1540 - UPDATED existing user with user_id: 1539 - UPDATED existing user with user_id: 1538 - UPDATED existing user with user_id: 1537 - UPDATED existing user with user_id: 1536 - UPDATED existing user with user_id: 1535 - UPDATED existing user with user_id: 1534 - UPDATED existing user with user_id: 1533 - UPDATED existing user with user_id: 1532 - UPDATED existing user with user_id: 1531 - UPDATED existing user with user_id: 1530 - UPDATED existing user with user_id: 1529 - UPDATED existing user with user_id: 1528 - UPDATED existing user with user_id: 1527 - UPDATED existing user with user_id: 1526 - UPDATED existing user with user_id: 1525 - UPDATED existing user with user_id: 1524 - UPDATED existing user with user_id: 1523 - UPDATED existing user with user_id: 1522 - UPDATED existing user with user_id: 1519 - UPDATED existing user with user_id: 1521 - UPDATED existing user with user_id: 1520 - UPDATED existing user with user_id: 1518 - UPDATED existing user with user_id: 1517 - UPDATED existing user with user_id: 1516 - UPDATED existing user with user_id: 1515 - UPDATED existing user with user_id: 1514 - UPDATED existing user with user_id: 1513 - UPDATED existing user with user_id: 1512 - UPDATED existing user with user_id: 1511 - UPDATED existing user with user_id: 1510 - UPDATED existing user with user_id: 1509 - UPDATED existing user with user_id: 1508 - UPDATED existing user with user_id: 1507 - UPDATED existing user with user_id: 1506 - UPDATED existing user with user_id: 1505 - UPDATED existing user with user_id: 1504 - UPDATED existing user with user_id: 1503 - UPDATED existing user with user_id: 1502 - UPDATED existing user with user_id: 1501 - UPDATED existing user with user_id: 1500 - UPDATED existing user with user_id: 1499 - UPDATED existing user with user_id: 1498 - UPDATED existing user with user_id: 1496 - UPDATED existing user with user_id: 1495 - UPDATED existing user with user_id: 1494 - UPDATED existing user with user_id: 1493 - UPDATED existing user with user_id: 1492 - UPDATED existing user with user_id: 1491 - UPDATED existing user with user_id: 1490 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1488 - UPDATED existing user with user_id: 1487 - UPDATED existing user with user_id: 1485 - UPDATED existing user with user_id: 1484 - UPDATED existing user with user_id: 1486 - UPDATED existing user with user_id: 1483 - UPDATED existing user with user_id: 1482 - UPDATED existing user with user_id: 1481 - UPDATED existing user with user_id: 1480 - UPDATED existing user with user_id: 1479 - UPDATED existing user with user_id: 1477 - UPDATED existing user with user_id: 1478 - UPDATED existing user with user_id: 1476 - UPDATED existing user with user_id: 1475 - UPDATED existing user with user_id: 1474 - UPDATED existing user with user_id: 1473 - UPDATED existing user with user_id: 1472 - UPDATED existing user with user_id: 1471 - UPDATED existing user with user_id: 1470 - UPDATED existing user with user_id: 1469 - UPDATED existing user with user_id: 1468 - UPDATED existing user with user_id: 1467 - UPDATED existing user with user_id: 1466 - UPDATED existing user with user_id: 1465 - UPDATED existing user with user_id: 1464 - UPDATED existing user with user_id: 1463 - UPDATED existing user with user_id: 1462 - UPDATED existing user with user_id: 1461 - UPDATED existing user with user_id: 1460 - UPDATED existing user with user_id: 1459 - UPDATED existing user with user_id: 1458 - UPDATED existing user with user_id: 1457 - UPDATED existing user with user_id: 1456 - UPDATED existing user with user_id: 1453 - UPDATED existing user with user_id: 1455 - UPDATED existing user with user_id: 1454 - UPDATED existing user with user_id: 1452 - UPDATED existing user with user_id: 1451 - UPDATED existing user with user_id: 1449 - UPDATED existing user with user_id: 1450 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1447 - UPDATED existing user with user_id: 1446 - UPDATED existing user with user_id: 1445 - UPDATED existing user with user_id: 1444 - UPDATED existing user with user_id: 1443 - UPDATED existing user with user_id: 1442 - UPDATED existing user with user_id: 1441 - UPDATED existing user with user_id: 1440 - UPDATED existing user with user_id: 1439 - UPDATED existing user with user_id: 1438 - UPDATED existing user with user_id: 1437 - UPDATED existing user with user_id: 1436 - UPDATED existing user with user_id: 1435 - UPDATED existing user with user_id: 1431 - UPDATED existing user with user_id: 1434 - UPDATED existing user with user_id: 1433 - UPDATED existing user with user_id: 1432 - UPDATED existing user with user_id: 1430 - UPDATED existing user with user_id: 1429 - UPDATED existing user with user_id: 1428 - UPDATED existing user with user_id: 1427 - UPDATED existing user with user_id: 1426 - UPDATED existing user with user_id: 1425 - UPDATED existing user with user_id: 1424 - UPDATED existing user with user_id: 1423 - UPDATED existing user with user_id: 1422 - UPDATED existing user with user_id: 1421 - UPDATED existing user with user_id: 1420 - UPDATED existing user with user_id: 1417 - UPDATED existing user with user_id: 1419 - UPDATED existing user with user_id: 1418 - UPDATED existing user with user_id: 1416 - UPDATED existing user with user_id: 1415 - UPDATED existing user with user_id: 1414 - UPDATED existing user with user_id: 1413 - UPDATED existing user with user_id: 1412 - UPDATED existing user with user_id: 1411 - UPDATED existing user with user_id: 1410 - UPDATED existing user with user_id: 1409 - UPDATED existing user with user_id: 1408 - UPDATED existing user with user_id: 1407 - UPDATED existing user with user_id: 1406 - UPDATED existing user with user_id: 1405 - UPDATED existing user with user_id: 1404 - UPDATED existing user with user_id: 1403 - UPDATED existing user with user_id: 1402 - UPDATED existing user with user_id: 1401 - UPDATED existing user with user_id: 1400 - UPDATED existing user with user_id: 1399 - UPDATED existing user with user_id: 1398 - UPDATED existing user with user_id: 1397 - UPDATED existing user with user_id: 1396 - UPDATED existing user with user_id: 1395 - UPDATED existing user with user_id: 1394 - UPDATED existing user with user_id: 1393 - UPDATED existing user with user_id: 1392 - UPDATED existing user with user_id: 1391 - UPDATED existing user with user_id: 1390 - UPDATED existing user with user_id: 1389 - UPDATED existing user with user_id: 1388 - UPDATED existing user with user_id: 1387 - UPDATED existing user with user_id: 1386 - UPDATED existing user with user_id: 1385 - UPDATED existing user with user_id: 1384 - UPDATED existing user with user_id: 1383 - UPDATED existing user with user_id: 1382 - UPDATED existing user with user_id: 1381 - UPDATED existing user with user_id: 1380 - UPDATED existing user with user_id: 1379 - UPDATED existing user with user_id: 1377 - UPDATED existing user with user_id: 1378 - UPDATED existing user with user_id: 1376 - UPDATED existing user with user_id: 1375 - UPDATED existing user with user_id: 1374 - UPDATED existing user with user_id: 1373 - UPDATED existing user with user_id: 1372 - UPDATED existing user with user_id: 1371 - UPDATED existing user with user_id: 1370 - UPDATED existing user with user_id: 1369 - UPDATED existing user with user_id: 1368 - UPDATED existing user with user_id: 1367 - UPDATED existing user with user_id: 1366 - UPDATED existing user with user_id: 1365 - UPDATED existing user with user_id: 1364 - UPDATED existing user with user_id: 1363 - UPDATED existing user with user_id: 1362 - UPDATED existing user with user_id: 1361 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1359 - UPDATED existing user with user_id: 1357 - UPDATED existing user with user_id: 1356 - UPDATED existing user with user_id: 1355 - UPDATED existing user with user_id: 1354 - UPDATED existing user with user_id: 1353 - UPDATED existing user with user_id: 1352 - UPDATED existing user with user_id: 1350 - UPDATED existing user with user_id: 1358 - UPDATED existing user with user_id: 1349 - UPDATED existing user with user_id: 1348 - UPDATED existing user with user_id: 1351 - UPDATED existing user with user_id: 1347 - UPDATED existing user with user_id: 1346 - UPDATED existing user with user_id: 1345 - UPDATED existing user with user_id: 1344 - UPDATED existing user with user_id: 1343 - UPDATED existing user with user_id: 1342 - UPDATED existing user with user_id: 1341 - UPDATED existing user with user_id: 1340 - UPDATED existing user with user_id: 1339 - UPDATED existing user with user_id: 1338 - UPDATED existing user with user_id: 1337 - UPDATED existing user with user_id: 1336 - UPDATED existing user with user_id: 1335 - UPDATED existing user with user_id: 1334 - UPDATED existing user with user_id: 1332 - UPDATED existing user with user_id: 1333 - UPDATED existing user with user_id: 1331 - UPDATED existing user with user_id: 1330 - UPDATED existing user with user_id: 1329 - UPDATED existing user with user_id: 1328 - UPDATED existing user with user_id: 1327 - UPDATED existing user with user_id: 1326 - UPDATED existing user with user_id: 1325 - UPDATED existing user with user_id: 1324 - UPDATED existing user with user_id: 1323 - UPDATED existing user with user_id: 1322 - UPDATED existing user with user_id: 1321 - UPDATED existing user with user_id: 1320 - UPDATED existing user with user_id: 1319 - UPDATED existing user with user_id: 1318 - UPDATED existing user with user_id: 1317 - UPDATED existing user with user_id: 1316 - UPDATED existing user with user_id: 1315 - UPDATED existing user with user_id: 1314 - UPDATED existing user with user_id: 1313 - UPDATED existing user with user_id: 1312 - UPDATED existing user with user_id: 1311 - UPDATED existing user with user_id: 1310 - UPDATED existing user with user_id: 1309 - UPDATED existing user with user_id: 1308 - UPDATED existing user with user_id: 1307 - UPDATED existing user with user_id: 1306 - UPDATED existing user with user_id: 1305 - UPDATED existing user with user_id: 1304 - UPDATED existing user with user_id: 1303 - UPDATED existing user with user_id: 1302 - UPDATED existing user with user_id: 1301 - UPDATED existing user with user_id: 1300 - UPDATED existing user with user_id: 1299 - UPDATED existing user with user_id: 1297 - UPDATED existing user with user_id: 1298 - UPDATED existing user with user_id: 1296 - UPDATED existing user with user_id: 1295 - UPDATED existing user with user_id: 1294 - UPDATED existing user with user_id: 1293 - UPDATED existing user with user_id: 1292 - UPDATED existing user with user_id: 1291 - UPDATED existing user with user_id: 1290 - UPDATED existing user with user_id: 1289 - UPDATED existing user with user_id: 1288 - UPDATED existing user with user_id: 1287 - UPDATED existing user with user_id: 1286 - UPDATED existing user with user_id: 1285 - UPDATED existing user with user_id: 1284 - UPDATED existing user with user_id: 1283 - UPDATED existing user with user_id: 1282 - UPDATED existing user with user_id: 1281 - UPDATED existing user with user_id: 1280 - UPDATED existing user with user_id: 1279 - UPDATED existing user with user_id: 1278 - UPDATED existing user with user_id: 1277 - UPDATED existing user with user_id: 1275 - UPDATED existing user with user_id: 1276 - UPDATED existing user with user_id: 1274 - UPDATED existing user with user_id: 1273 - UPDATED existing user with user_id: 1272 - UPDATED existing user with user_id: 1271 - UPDATED existing user with user_id: 1270 - UPDATED existing user with user_id: 1269 - UPDATED existing user with user_id: 1267 - UPDATED existing user with user_id: 1268 - UPDATED existing user with user_id: 1265 - UPDATED existing user with user_id: 1266 - UPDATED existing user with user_id: 1264 - UPDATED existing user with user_id: 1263 - UPDATED existing user with user_id: 1262 - UPDATED existing user with user_id: 1261 - UPDATED existing user with user_id: 1260 - UPDATED existing user with user_id: 1255 - UPDATED existing user with user_id: 1254 - UPDATED existing user with user_id: 1253 - UPDATED existing user with user_id: 1252 - UPDATED existing user with user_id: 1251 - UPDATED existing user with user_id: 1250 - UPDATED existing user with user_id: 1249 - UPDATED existing user with user_id: 1247 - UPDATED existing user with user_id: 1248 - UPDATED existing user with user_id: 1246 - UPDATED existing user with user_id: 1245 - UPDATED existing user with user_id: 1244 - UPDATED existing user with user_id: 1243 - UPDATED existing user with user_id: 1240 - UPDATED existing user with user_id: 1239 - UPDATED existing user with user_id: 1236 - UPDATED existing user with user_id: 1235 - UPDATED existing user with user_id: 1234 - UPDATED existing user with user_id: 1233 - UPDATED existing user with user_id: 1232 - UPDATED existing user with user_id: 1231 - UPDATED existing user with user_id: 1230 - UPDATED existing user with user_id: 1229 - UPDATED existing user with user_id: 1228 - UPDATED existing user with user_id: 1227 - UPDATED existing user with user_id: 1226 - UPDATED existing user with user_id: 1225 - UPDATED existing user with user_id: 1224 - UPDATED existing user with user_id: 1223 - UPDATED existing user with user_id: 1222 - UPDATED existing user with user_id: 1221 - UPDATED existing user with user_id: 1220 - UPDATED existing user with user_id: 1219 - UPDATED existing user with user_id: 1218 - UPDATED existing user with user_id: 1217 - UPDATED existing user with user_id: 1216 - UPDATED existing user with user_id: 1215 - UPDATED existing user with user_id: 1214 - UPDATED existing user with user_id: 1213 - UPDATED existing user with user_id: 1212 - UPDATED existing user with user_id: 1211 - UPDATED existing user with user_id: 1210 - UPDATED existing user with user_id: 1209 - UPDATED existing user with user_id: 1208 - UPDATED existing user with user_id: 1207 - UPDATED existing user with user_id: 1206 - UPDATED existing user with user_id: 1205 - UPDATED existing user with user_id: 1204 - UPDATED existing user with user_id: 1203 - UPDATED existing user with user_id: 1202 - UPDATED existing user with user_id: 1201 - UPDATED existing user with user_id: 1200 - UPDATED existing user with user_id: 1199 - UPDATED existing user with user_id: 1198 - UPDATED existing user with user_id: 1197 - UPDATED existing user with user_id: 1196 - UPDATED existing user with user_id: 1195 - UPDATED existing user with user_id: 1194 - UPDATED existing user with user_id: 1193 - UPDATED existing user with user_id: 1192 - UPDATED existing user with user_id: 1191 - UPDATED existing user with user_id: 1190 - UPDATED existing user with user_id: 1189 - UPDATED existing user with user_id: 1188 - UPDATED existing user with user_id: 1185 - UPDATED existing user with user_id: 1181 - UPDATED existing user with user_id: 1187 - UPDATED existing user with user_id: 1186 - UPDATED existing user with user_id: 1180 - UPDATED existing user with user_id: 1184 - UPDATED existing user with user_id: 1179 - UPDATED existing user with user_id: 1178 - UPDATED existing user with user_id: 1177 - UPDATED existing user with user_id: 1176 - UPDATED existing user with user_id: 1175 - UPDATED existing user with user_id: 1174 - UPDATED existing user with user_id: 1173 - UPDATED existing user with user_id: 1172 - UPDATED existing user with user_id: 1171 - UPDATED existing user with user_id: 1170 - UPDATED existing user with user_id: 1169 - UPDATED existing user with user_id: 1168 - UPDATED existing user with user_id: 1167 - UPDATED existing user with user_id: 1166 - UPDATED existing user with user_id: 1165 - UPDATED existing user with user_id: 1164 - UPDATED existing user with user_id: 1163 - UPDATED existing user with user_id: 1162 - UPDATED existing user with user_id: 1161 - UPDATED existing user with user_id: 1160 - UPDATED existing user with user_id: 1159 - UPDATED existing user with user_id: 1158 - UPDATED existing user with user_id: 1157 - UPDATED existing user with user_id: 1156 - UPDATED existing user with user_id: 1155 - UPDATED existing user with user_id: 1154 - UPDATED existing user with user_id: 1153 - UPDATED existing user with user_id: 1152 - UPDATED existing user with user_id: 1151 - UPDATED existing user with user_id: 1150 - UPDATED existing user with user_id: 1146 - UPDATED existing user with user_id: 1145 - UPDATED existing user with user_id: 1144 - UPDATED existing user with user_id: 1143 - UPDATED existing user with user_id: 1142 - UPDATED existing user with user_id: 1141 - UPDATED existing user with user_id: 1140 - UPDATED existing user with user_id: 1139 - UPDATED existing user with user_id: 1138 - UPDATED existing user with user_id: 1137 - UPDATED existing user with user_id: 1136 - UPDATED existing user with user_id: 1135 - UPDATED existing user with user_id: 1134 - UPDATED existing user with user_id: 1133 - UPDATED existing user with user_id: 1132 - UPDATED existing user with user_id: 1131 - UPDATED existing user with user_id: 1130 - UPDATED existing user with user_id: 1129 - UPDATED existing user with user_id: 1128 - UPDATED existing user with user_id: 1127 - UPDATED existing user with user_id: 1126 - UPDATED existing user with user_id: 1125 - UPDATED existing user with user_id: 1124 - UPDATED existing user with user_id: 1123 - UPDATED existing user with user_id: 1122 - UPDATED existing user with user_id: 1121 - UPDATED existing user with user_id: 1120 - UPDATED existing user with user_id: 1119 - UPDATED existing user with user_id: 1118 - UPDATED existing user with user_id: 1117 - UPDATED existing user with user_id: 1116 - UPDATED existing user with user_id: 1115 - UPDATED existing user with user_id: 1114 - UPDATED existing user with user_id: 1113 - UPDATED existing user with user_id: 1112 - UPDATED existing user with user_id: 1111 - UPDATED existing user with user_id: 1110 - UPDATED existing user with user_id: 1109 - UPDATED existing user with user_id: 1108 - UPDATED existing user with user_id: 1107 - UPDATED existing user with user_id: 1106 - UPDATED existing user with user_id: 1105 - UPDATED existing user with user_id: 1104 - UPDATED existing user with user_id: 1103 - UPDATED existing user with user_id: 1102 - UPDATED existing user with user_id: 1101 - UPDATED existing user with user_id: 1100 - UPDATED existing user with user_id: 1099 - UPDATED existing user with user_id: 1098 - UPDATED existing user with user_id: 1097 - UPDATED existing user with user_id: 1096 - UPDATED existing user with user_id: 1095 - UPDATED existing user with user_id: 1094 - UPDATED existing user with user_id: 1093 - UPDATED existing user with user_id: 1092 - UPDATED existing user with user_id: 1091 - UPDATED existing user with user_id: 1090 - UPDATED existing user with user_id: 1088 - UPDATED existing user with user_id: 1087 - UPDATED existing user with user_id: 1089 - UPDATED existing user with user_id: 1086 - UPDATED existing user with user_id: 1085 - UPDATED existing user with user_id: 1084 - UPDATED existing user with user_id: 1083 - UPDATED existing user with user_id: 1082 - UPDATED existing user with user_id: 1081 - UPDATED existing user with user_id: 1080 - UPDATED existing user with user_id: 1079 - UPDATED existing user with user_id: 1078 - UPDATED existing user with user_id: 1077 - UPDATED existing user with user_id: 1076 - UPDATED existing user with user_id: 1075 - UPDATED existing user with user_id: 1074 - UPDATED existing user with user_id: 1073 - UPDATED existing user with user_id: 1072 - UPDATED existing user with user_id: 1071 - UPDATED existing user with user_id: 1070 - UPDATED existing user with user_id: 1069 - UPDATED existing user with user_id: 1068 - UPDATED existing user with user_id: 1067 - UPDATED existing user with user_id: 1066 - UPDATED existing user with user_id: 1065 - UPDATED existing user with user_id: 1064 - UPDATED existing user with user_id: 1063 - UPDATED existing user with user_id: 1062 - UPDATED existing user with user_id: 1061 - UPDATED existing user with user_id: 1060 - UPDATED existing user with user_id: 1059 - UPDATED existing user with user_id: 1056 - UPDATED existing user with user_id: 1055 - UPDATED existing user with user_id: 1054 - UPDATED existing user with user_id: 1058 - UPDATED existing user with user_id: 1057 - UPDATED existing user with user_id: 1053 - UPDATED existing user with user_id: 1052 - UPDATED existing user with user_id: 1051 - UPDATED existing user with user_id: 1050 - UPDATED existing user with user_id: 1049 - UPDATED existing user with user_id: 1048 - UPDATED existing user with user_id: 1047 - UPDATED existing user with user_id: 1046 - UPDATED existing user with user_id: 1045 - UPDATED existing user with user_id: 1044 - UPDATED existing user with user_id: 1043 - UPDATED existing user with user_id: 1042 - UPDATED existing user with user_id: 1041 - UPDATED existing user with user_id: 1040 - UPDATED existing user with user_id: 1039 - UPDATED existing user with user_id: 1038 - UPDATED existing user with user_id: 1037 - UPDATED existing user with user_id: 1036 - UPDATED existing user with user_id: 1035 - UPDATED existing user with user_id: 1034 - UPDATED existing user with user_id: 1033 - UPDATED existing user with user_id: 1032 - UPDATED existing user with user_id: 1031 - UPDATED existing user with user_id: 1030 - UPDATED existing user with user_id: 1029 - UPDATED existing user with user_id: 1028 - UPDATED existing user with user_id: 1027 - UPDATED existing user with user_id: 1026 - UPDATED existing user with user_id: 1025 - UPDATED existing user with user_id: 1024 - UPDATED existing user with user_id: 1023 - UPDATED existing user with user_id: 1022 - UPDATED existing user with user_id: 1021 - UPDATED existing user with user_id: 1020 - UPDATED existing user with user_id: 1019 - UPDATED existing user with user_id: 1018 - UPDATED existing user with user_id: 1017 - UPDATED existing user with user_id: 1016 - UPDATED existing user with user_id: 1015 - UPDATED existing user with user_id: 1014 - UPDATED existing user with user_id: 1013 - UPDATED existing user with user_id: 1012 - UPDATED existing user with user_id: 1011 - UPDATED existing user with user_id: 1010 - UPDATED existing user with user_id: 1009 - UPDATED existing user with user_id: 1008 - UPDATED existing user with user_id: 1007 - UPDATED existing user with user_id: 1006 - UPDATED existing user with user_id: 1005 - UPDATED existing user with user_id: 1004 - UPDATED existing user with user_id: 1003 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 1001 - UPDATED existing user with user_id: 1000 - UPDATED existing user with user_id: 999 - UPDATED existing user with user_id: 998 - UPDATED existing user with user_id: 997 - UPDATED existing user with user_id: 996 - UPDATED existing user with user_id: 995 - UPDATED existing user with user_id: 994 - UPDATED existing user with user_id: 993 - UPDATED existing user with user_id: 992 - UPDATED existing user with user_id: 991 - UPDATED existing user with user_id: 990 - UPDATED existing user with user_id: 989 - UPDATED existing user with user_id: 988 - UPDATED existing user with user_id: 987 - UPDATED existing user with user_id: 986 - UPDATED existing user with user_id: 985 - UPDATED existing user with user_id: 984 - UPDATED existing user with user_id: 983 - UPDATED existing user with user_id: 982 - UPDATED existing user with user_id: 981 - UPDATED existing user with user_id: 980 - UPDATED existing user with user_id: 979 - UPDATED existing user with user_id: 978 - UPDATED existing user with user_id: 977 - UPDATED existing user with user_id: 976 - UPDATED existing user with user_id: 975 - UPDATED existing user with user_id: 974 - UPDATED existing user with user_id: 973 - UPDATED existing user with user_id: 972 - UPDATED existing user with user_id: 971 - UPDATED existing user with user_id: 970 - UPDATED existing user with user_id: 969 - UPDATED existing user with user_id: 968 - UPDATED existing user with user_id: 967 - UPDATED existing user with user_id: 966 - UPDATED existing user with user_id: 965 - UPDATED existing user with user_id: 964 - UPDATED existing user with user_id: 963 - UPDATED existing user with user_id: 962 - UPDATED existing user with user_id: 961 - UPDATED existing user with user_id: 960 - UPDATED existing user with user_id: 959 - UPDATED existing user with user_id: 958 - UPDATED existing user with user_id: 957 - UPDATED existing user with user_id: 956 - UPDATED existing user with user_id: 955 - UPDATED existing user with user_id: 954 - UPDATED existing user with user_id: 953 - UPDATED existing user with user_id: 952 - UPDATED existing user with user_id: 951 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 949 - UPDATED existing user with user_id: 948 - UPDATED existing user with user_id: 947 - UPDATED existing user with user_id: 946 - UPDATED existing user with user_id: 945 - UPDATED existing user with user_id: 944 - UPDATED existing user with user_id: 943 - UPDATED existing user with user_id: 942 - UPDATED existing user with user_id: 941 - UPDATED existing user with user_id: 940 - UPDATED existing user with user_id: 939 - UPDATED existing user with user_id: 938 - UPDATED existing user with user_id: 937 - UPDATED existing user with user_id: 936 - UPDATED existing user with user_id: 935 - UPDATED existing user with user_id: 934 - UPDATED existing user with user_id: 933 - UPDATED existing user with user_id: 932 - UPDATED existing user with user_id: 931 - UPDATED existing user with user_id: 930 - UPDATED existing user with user_id: 929 - UPDATED existing user with user_id: 928 - UPDATED existing user with user_id: 927 - UPDATED existing user with user_id: 926 - UPDATED existing user with user_id: 925 - UPDATED existing user with user_id: 924 - UPDATED existing user with user_id: 923 - UPDATED existing user with user_id: 922 - UPDATED existing user with user_id: 921 - UPDATED existing user with user_id: 920 - UPDATED existing user with user_id: 919 - UPDATED existing user with user_id: 918 - UPDATED existing user with user_id: 917 - UPDATED existing user with user_id: 916 - UPDATED existing user with user_id: 915 - UPDATED existing user with user_id: 914 - UPDATED existing user with user_id: 913 - UPDATED existing user with user_id: 912 - UPDATED existing user with user_id: 911 - UPDATED existing user with user_id: 910 - UPDATED existing user with user_id: 909 - UPDATED existing user with user_id: 908 - UPDATED existing user with user_id: 907 - UPDATED existing user with user_id: 904 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 905 - UPDATED existing user with user_id: 903 - UPDATED existing user with user_id: 902 - UPDATED existing user with user_id: 901 - UPDATED existing user with user_id: 900 - UPDATED existing user with user_id: 898 - UPDATED existing user with user_id: 899 - UPDATED existing user with user_id: 897 - UPDATED existing user with user_id: 896 - UPDATED existing user with user_id: 895 - UPDATED existing user with user_id: 894 - UPDATED existing user with user_id: 893 - UPDATED existing user with user_id: 892 - UPDATED existing user with user_id: 891 - UPDATED existing user with user_id: 890 - UPDATED existing user with user_id: 889 - UPDATED existing user with user_id: 888 - UPDATED existing user with user_id: 887 - UPDATED existing user with user_id: 886 - UPDATED existing user with user_id: 885 - UPDATED existing user with user_id: 884 - UPDATED existing user with user_id: 883 - UPDATED existing user with user_id: 882 - UPDATED existing user with user_id: 881 - UPDATED existing user with user_id: 880 - UPDATED existing user with user_id: 879 - UPDATED existing user with user_id: 878 - UPDATED existing user with user_id: 877 - UPDATED existing user with user_id: 876 - UPDATED existing user with user_id: 875 - UPDATED existing user with user_id: 874 - UPDATED existing user with user_id: 873 - UPDATED existing user with user_id: 872 - UPDATED existing user with user_id: 871 - UPDATED existing user with user_id: 870 - UPDATED existing user with user_id: 869 - UPDATED existing user with user_id: 868 - UPDATED existing user with user_id: 867 - UPDATED existing user with user_id: 866 - UPDATED existing user with user_id: 865 - UPDATED existing user with user_id: 864 - UPDATED existing user with user_id: 863 - UPDATED existing user with user_id: 862 - UPDATED existing user with user_id: 861 - UPDATED existing user with user_id: 860 - UPDATED existing user with user_id: 859 - UPDATED existing user with user_id: 858 - UPDATED existing user with user_id: 857 - UPDATED existing user with user_id: 856 - UPDATED existing user with user_id: 855 - UPDATED existing user with user_id: 854 - UPDATED existing user with user_id: 853 - UPDATED existing user with user_id: 852 - UPDATED existing user with user_id: 851 - UPDATED existing user with user_id: 850 - UPDATED existing user with user_id: 849 - UPDATED existing user with user_id: 848 - UPDATED existing user with user_id: 846 - UPDATED existing user with user_id: 847 - UPDATED existing user with user_id: 845 - UPDATED existing user with user_id: 844 - UPDATED existing user with user_id: 843 - UPDATED existing user with user_id: 842 - UPDATED existing user with user_id: 841 - UPDATED existing user with user_id: 840 - UPDATED existing user with user_id: 837 - UPDATED existing user with user_id: 839 - UPDATED existing user with user_id: 838 - UPDATED existing user with user_id: 836 - UPDATED existing user with user_id: 835 - UPDATED existing user with user_id: 834 - UPDATED existing user with user_id: 833 - UPDATED existing user with user_id: 832 - UPDATED existing user with user_id: 830 - UPDATED existing user with user_id: 831 - UPDATED existing user with user_id: 829 - UPDATED existing user with user_id: 828 - UPDATED existing user with user_id: 827 - UPDATED existing user with user_id: 826 - UPDATED existing user with user_id: 825 - UPDATED existing user with user_id: 819 - UPDATED existing user with user_id: 815 - UPDATED existing user with user_id: 824 - UPDATED existing user with user_id: 812 - UPDATED existing user with user_id: 823 - UPDATED existing user with user_id: 822 - UPDATED existing user with user_id: 811 - UPDATED existing user with user_id: 810 - UPDATED existing user with user_id: 821 - UPDATED existing user with user_id: 820 - UPDATED existing user with user_id: 818 - UPDATED existing user with user_id: 817 - UPDATED existing user with user_id: 816 - UPDATED existing user with user_id: 814 - UPDATED existing user with user_id: 813 - UPDATED existing user with user_id: 809 - UPDATED existing user with user_id: 808 - UPDATED existing user with user_id: 807 - UPDATED existing user with user_id: 806 - UPDATED existing user with user_id: 805 - UPDATED existing user with user_id: 804 - UPDATED existing user with user_id: 803 - UPDATED existing user with user_id: 802 - UPDATED existing user with user_id: 801 - UPDATED existing user with user_id: 800 - UPDATED existing user with user_id: 799 - UPDATED existing user with user_id: 798 - UPDATED existing user with user_id: 797 - UPDATED existing user with user_id: 796 - UPDATED existing user with user_id: 795 - UPDATED existing user with user_id: 794 - UPDATED existing user with user_id: 793 - UPDATED existing user with user_id: 792 - UPDATED existing user with user_id: 791 - UPDATED existing user with user_id: 790 - UPDATED existing user with user_id: 789 - UPDATED existing user with user_id: 788 - UPDATED existing user with user_id: 787 - UPDATED existing user with user_id: 786 - UPDATED existing user with user_id: 785 - UPDATED existing user with user_id: 784 - UPDATED existing user with user_id: 783 - UPDATED existing user with user_id: 782 - UPDATED existing user with user_id: 781 - UPDATED existing user with user_id: 780 - UPDATED existing user with user_id: 779 - UPDATED existing user with user_id: 778 - UPDATED existing user with user_id: 777 - UPDATED existing user with user_id: 775 - UPDATED existing user with user_id: 774 - UPDATED existing user with user_id: 773 - UPDATED existing user with user_id: 776 - UPDATED existing user with user_id: 772 - UPDATED existing user with user_id: 771 - UPDATED existing user with user_id: 770 - UPDATED existing user with user_id: 769 - UPDATED existing user with user_id: 768 - UPDATED existing user with user_id: 767 - UPDATED existing user with user_id: 765 - UPDATED existing user with user_id: 766 - UPDATED existing user with user_id: 764 - UPDATED existing user with user_id: 763 - UPDATED existing user with user_id: 762 - UPDATED existing user with user_id: 761 - UPDATED existing user with user_id: 760 - UPDATED existing user with user_id: 759 - UPDATED existing user with user_id: 757 - UPDATED existing user with user_id: 756 - UPDATED existing user with user_id: 755 - UPDATED existing user with user_id: 758 - UPDATED existing user with user_id: 754 - UPDATED existing user with user_id: 753 - UPDATED existing user with user_id: 752 - UPDATED existing user with user_id: 751 - UPDATED existing user with user_id: 750 - UPDATED existing user with user_id: 749 - UPDATED existing user with user_id: 748 - UPDATED existing user with user_id: 747 - UPDATED existing user with user_id: 746 - UPDATED existing user with user_id: 745 - UPDATED existing user with user_id: 744 - UPDATED existing user with user_id: 743 - UPDATED existing user with user_id: 742 - UPDATED existing user with user_id: 741 - UPDATED existing user with user_id: 740 - UPDATED existing user with user_id: 739 - UPDATED existing user with user_id: 738 - UPDATED existing user with user_id: 737 - UPDATED existing user with user_id: 736 - UPDATED existing user with user_id: 733 - UPDATED existing user with user_id: 735 - UPDATED existing user with user_id: 734 - UPDATED existing user with user_id: 732 - UPDATED existing user with user_id: 730 - UPDATED existing user with user_id: 731 - UPDATED existing user with user_id: 729 - UPDATED existing user with user_id: 728 - UPDATED existing user with user_id: 727 - UPDATED existing user with user_id: 726 - UPDATED existing user with user_id: 725 - UPDATED existing user with user_id: 724 - UPDATED existing user with user_id: 723 - UPDATED existing user with user_id: 722 - UPDATED existing user with user_id: 721 - UPDATED existing user with user_id: 720 - UPDATED existing user with user_id: 719 - UPDATED existing user with user_id: 718 - UPDATED existing user with user_id: 717 - UPDATED existing user with user_id: 716 - UPDATED existing user with user_id: 715 - UPDATED existing user with user_id: 714 - UPDATED existing user with user_id: 713 - UPDATED existing user with user_id: 712 - UPDATED existing user with user_id: 711 - UPDATED existing user with user_id: 710 - UPDATED existing user with user_id: 709 - UPDATED existing user with user_id: 708 - UPDATED existing user with user_id: 705 - UPDATED existing user with user_id: 707 - UPDATED existing user with user_id: 706 - UPDATED existing user with user_id: 704 - UPDATED existing user with user_id: 703 - UPDATED existing user with user_id: 701 - UPDATED existing user with user_id: 697 - UPDATED existing user with user_id: 702 - UPDATED existing user with user_id: 700 - UPDATED existing user with user_id: 699 - UPDATED existing user with user_id: 698 - UPDATED existing user with user_id: 696 - UPDATED existing user with user_id: 695 - UPDATED existing user with user_id: 694 - UPDATED existing user with user_id: 693 - UPDATED existing user with user_id: 692 - UPDATED existing user with user_id: 691 - UPDATED existing user with user_id: 690 - UPDATED existing user with user_id: 689 - UPDATED existing user with user_id: 688 - UPDATED existing user with user_id: 687 - UPDATED existing user with user_id: 686 - UPDATED existing user with user_id: 685 - UPDATED existing user with user_id: 684 - UPDATED existing user with user_id: 683 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 681 - UPDATED existing user with user_id: 680 - UPDATED existing user with user_id: 679 - UPDATED existing user with user_id: 678 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 676 - UPDATED existing user with user_id: 675 - UPDATED existing user with user_id: 674 - UPDATED existing user with user_id: 673 - UPDATED existing user with user_id: 672 - UPDATED existing user with user_id: 671 - UPDATED existing user with user_id: 670 - UPDATED existing user with user_id: 669 - UPDATED existing user with user_id: 668 - UPDATED existing user with user_id: 667 - UPDATED existing user with user_id: 666 - UPDATED existing user with user_id: 665 - UPDATED existing user with user_id: 663 - UPDATED existing user with user_id: 662 - UPDATED existing user with user_id: 661 - UPDATED existing user with user_id: 660 - UPDATED existing user with user_id: 659 - UPDATED existing user with user_id: 658 - UPDATED existing user with user_id: 657 - UPDATED existing user with user_id: 655 - UPDATED existing user with user_id: 656 - UPDATED existing user with user_id: 654 - UPDATED existing user with user_id: 652 - UPDATED existing user with user_id: 653 - UPDATED existing user with user_id: 651 - UPDATED existing user with user_id: 650 - UPDATED existing user with user_id: 649 - UPDATED existing user with user_id: 648 - UPDATED existing user with user_id: 647 - UPDATED existing user with user_id: 646 - UPDATED existing user with user_id: 645 - UPDATED existing user with user_id: 644 - UPDATED existing user with user_id: 643 - UPDATED existing user with user_id: 642 - UPDATED existing user with user_id: 641 - UPDATED existing user with user_id: 640 - UPDATED existing user with user_id: 639 - UPDATED existing user with user_id: 638 - UPDATED existing user with user_id: 637 - UPDATED existing user with user_id: 636 - UPDATED existing user with user_id: 635 - UPDATED existing user with user_id: 625 - UPDATED existing user with user_id: 634 - UPDATED existing user with user_id: 633 - UPDATED existing user with user_id: 632 - UPDATED existing user with user_id: 631 - UPDATED existing user with user_id: 630 - UPDATED existing user with user_id: 629 - UPDATED existing user with user_id: 628 - UPDATED existing user with user_id: 627 - UPDATED existing user with user_id: 626 - UPDATED existing user with user_id: 624 - UPDATED existing user with user_id: 623 - UPDATED existing user with user_id: 622 - UPDATED existing user with user_id: 621 - UPDATED existing user with user_id: 620 - UPDATED existing user with user_id: 619 - UPDATED existing user with user_id: 618 - UPDATED existing user with user_id: 611 - UPDATED existing user with user_id: 593 - UPDATED existing user with user_id: 594 - UPDATED existing user with user_id: 563 - UPDATED existing user with user_id: 567 - UPDATED existing user with user_id: 566 - UPDATED existing user with user_id: 565 - UPDATED existing user with user_id: 564 - UPDATED existing user with user_id: 562 - UPDATED existing user with user_id: 561 - UPDATED existing user with user_id: 560 - UPDATED existing user with user_id: 559 - UPDATED existing user with user_id: 558 - UPDATED existing user with user_id: 557 - UPDATED existing user with user_id: 556 - UPDATED existing user with user_id: 555 - UPDATED existing user with user_id: 554 - UPDATED existing user with user_id: 553 - UPDATED existing user with user_id: 552 - UPDATED existing user with user_id: 551 - UPDATED existing user with user_id: 550 - UPDATED existing user with user_id: 549 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 546 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 544 - UPDATED existing user with user_id: 543 - UPDATED existing user with user_id: 542 - UPDATED existing user with user_id: 541 - UPDATED existing user with user_id: 540 - UPDATED existing user with user_id: 539 - UPDATED existing user with user_id: 538 - UPDATED existing user with user_id: 537 - UPDATED existing user with user_id: 536 - UPDATED existing user with user_id: 535 - UPDATED existing user with user_id: 534 - UPDATED existing user with user_id: 533 - UPDATED existing user with user_id: 532 - UPDATED existing user with user_id: 531 - UPDATED existing user with user_id: 530 - UPDATED existing user with user_id: 529 - UPDATED existing user with user_id: 528 - UPDATED existing user with user_id: 527 - UPDATED existing user with user_id: 526 - UPDATED existing user with user_id: 525 - UPDATED existing user with user_id: 524 - UPDATED existing user with user_id: 523 - UPDATED existing user with user_id: 522 - UPDATED existing user with user_id: 521 - UPDATED existing user with user_id: 520 - UPDATED existing user with user_id: 519 - UPDATED existing user with user_id: 518 - UPDATED existing user with user_id: 517 - UPDATED existing user with user_id: 516 - UPDATED existing user with user_id: 515 - UPDATED existing user with user_id: 514 - UPDATED existing user with user_id: 513 - UPDATED existing user with user_id: 512 - UPDATED existing user with user_id: 511 - UPDATED existing user with user_id: 510 - UPDATED existing user with user_id: 509 - UPDATED existing user with user_id: 508 - UPDATED existing user with user_id: 507 - UPDATED existing user with user_id: 506 - UPDATED existing user with user_id: 505 - UPDATED existing user with user_id: 504 - UPDATED existing user with user_id: 503 - UPDATED existing user with user_id: 502 - UPDATED existing user with user_id: 501 - UPDATED existing user with user_id: 500 - UPDATED existing user with user_id: 499 - UPDATED existing user with user_id: 498 - UPDATED existing user with user_id: 497 - UPDATED existing user with user_id: 496 - UPDATED existing user with user_id: 495 - UPDATED existing user with user_id: 494 - UPDATED existing user with user_id: 493 - UPDATED existing user with user_id: 492 - UPDATED existing user with user_id: 491 - UPDATED existing user with user_id: 490 - UPDATED existing user with user_id: 489 - UPDATED existing user with user_id: 488 - UPDATED existing user with user_id: 487 - UPDATED existing user with user_id: 486 - UPDATED existing user with user_id: 485 - UPDATED existing user with user_id: 484 - UPDATED existing user with user_id: 483 - UPDATED existing user with user_id: 482 - UPDATED existing user with user_id: 481 - UPDATED existing user with user_id: 480 - UPDATED existing user with user_id: 479 - UPDATED existing user with user_id: 478 - UPDATED existing user with user_id: 477 - UPDATED existing user with user_id: 476 - UPDATED existing user with user_id: 475 - UPDATED existing user with user_id: 474 - UPDATED existing user with user_id: 473 - UPDATED existing user with user_id: 472 - UPDATED existing user with user_id: 471 - UPDATED existing user with user_id: 470 - UPDATED existing user with user_id: 469 - UPDATED existing user with user_id: 468 - UPDATED existing user with user_id: 465 - UPDATED existing user with user_id: 466 - UPDATED existing user with user_id: 464 - UPDATED existing user with user_id: 463 - UPDATED existing user with user_id: 462 - UPDATED existing user with user_id: 461 - UPDATED existing user with user_id: 460 - UPDATED existing user with user_id: 458 - UPDATED existing user with user_id: 457 - UPDATED existing user with user_id: 455 - UPDATED existing user with user_id: 456 - UPDATED existing user with user_id: 454 - UPDATED existing user with user_id: 453 - UPDATED existing user with user_id: 452 - UPDATED existing user with user_id: 451 - UPDATED existing user with user_id: 450 - UPDATED existing user with user_id: 449 - UPDATED existing user with user_id: 448 - UPDATED existing user with user_id: 447 - UPDATED existing user with user_id: 442 - UPDATED existing user with user_id: 438 - UPDATED existing user with user_id: 444 - UPDATED existing user with user_id: 437 - UPDATED existing user with user_id: 435 - UPDATED existing user with user_id: 434 - UPDATED existing user with user_id: 433 - UPDATED existing user with user_id: 432 - UPDATED existing user with user_id: 431 - UPDATED existing user with user_id: 430 - UPDATED existing user with user_id: 429 - UPDATED existing user with user_id: 428 - UPDATED existing user with user_id: 425 - UPDATED existing user with user_id: 427 - UPDATED existing user with user_id: 426 - UPDATED existing user with user_id: 424 - UPDATED existing user with user_id: 423 - UPDATED existing user with user_id: 418 - UPDATED existing user with user_id: 422 - UPDATED existing user with user_id: 421 - UPDATED existing user with user_id: 420 - UPDATED existing user with user_id: 419 - UPDATED existing user with user_id: 416 - UPDATED existing user with user_id: 415 - UPDATED existing user with user_id: 413 - UPDATED existing user with user_id: 414 - UPDATED existing user with user_id: 412 - UPDATED existing user with user_id: 411 - UPDATED existing user with user_id: 410 - UPDATED existing user with user_id: 409 - UPDATED existing user with user_id: 408 - UPDATED existing user with user_id: 407 - UPDATED existing user with user_id: 406 - UPDATED existing user with user_id: 405 - UPDATED existing user with user_id: 404 - UPDATED existing user with user_id: 403 - UPDATED existing user with user_id: 402 - UPDATED existing user with user_id: 401 - UPDATED existing user with user_id: 400 - UPDATED existing user with user_id: 399 - UPDATED existing user with user_id: 398 - UPDATED existing user with user_id: 397 - UPDATED existing user with user_id: 396 - UPDATED existing user with user_id: 395 - UPDATED existing user with user_id: 394 - UPDATED existing user with user_id: 393 - UPDATED existing user with user_id: 392 - UPDATED existing user with user_id: 391 - UPDATED existing user with user_id: 388 - UPDATED existing user with user_id: 390 - UPDATED existing user with user_id: 389 - UPDATED existing user with user_id: 387 - UPDATED existing user with user_id: 386 - UPDATED existing user with user_id: 385 - UPDATED existing user with user_id: 384 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 382 - UPDATED existing user with user_id: 381 - UPDATED existing user with user_id: 380 - UPDATED existing user with user_id: 379 - UPDATED existing user with user_id: 378 - UPDATED existing user with user_id: 377 - UPDATED existing user with user_id: 376 - UPDATED existing user with user_id: 374 - UPDATED existing user with user_id: 375 - UPDATED existing user with user_id: 373 - UPDATED existing user with user_id: 372 - UPDATED existing user with user_id: 371 - UPDATED existing user with user_id: 370 - UPDATED existing user with user_id: 369 - UPDATED existing user with user_id: 368 - UPDATED existing user with user_id: 367 - UPDATED existing user with user_id: 366 - UPDATED existing user with user_id: 365 - UPDATED existing user with user_id: 363 - UPDATED existing user with user_id: 364 - UPDATED existing user with user_id: 362 - UPDATED existing user with user_id: 361 - UPDATED existing user with user_id: 360 - UPDATED existing user with user_id: 359 - UPDATED existing user with user_id: 358 - UPDATED existing user with user_id: 357 - UPDATED existing user with user_id: 356 - UPDATED existing user with user_id: 355 - UPDATED existing user with user_id: 354 - UPDATED existing user with user_id: 353 - UPDATED existing user with user_id: 350 - UPDATED existing user with user_id: 352 - UPDATED existing user with user_id: 351 - UPDATED existing user with user_id: 349 - UPDATED existing user with user_id: 348 - UPDATED existing user with user_id: 347 - UPDATED existing user with user_id: 345 - UPDATED existing user with user_id: 346 - UPDATED existing user with user_id: 344 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 342 - UPDATED existing user with user_id: 341 - UPDATED existing user with user_id: 340 - UPDATED existing user with user_id: 339 - UPDATED existing user with user_id: 338 - UPDATED existing user with user_id: 337 - UPDATED existing user with user_id: 336 - UPDATED existing user with user_id: 335 - UPDATED existing user with user_id: 334 - UPDATED existing user with user_id: 333 - UPDATED existing user with user_id: 332 - UPDATED existing user with user_id: 331 - UPDATED existing user with user_id: 330 - UPDATED existing user with user_id: 328 - UPDATED existing user with user_id: 327 - UPDATED existing user with user_id: 329 - UPDATED existing user with user_id: 326 - UPDATED existing user with user_id: 325 - UPDATED existing user with user_id: 322 - UPDATED existing user with user_id: 324 - UPDATED existing user with user_id: 323 - UPDATED existing user with user_id: 321 - UPDATED existing user with user_id: 320 - UPDATED existing user with user_id: 319 - UPDATED existing user with user_id: 318 - UPDATED existing user with user_id: 317 - UPDATED existing user with user_id: 314 - UPDATED existing user with user_id: 316 - UPDATED existing user with user_id: 315 - UPDATED existing user with user_id: 313 - UPDATED existing user with user_id: 312 - UPDATED existing user with user_id: 311 - UPDATED existing user with user_id: 310 - UPDATED existing user with user_id: 309 - UPDATED existing user with user_id: 308 - UPDATED existing user with user_id: 307 - UPDATED existing user with user_id: 306 - UPDATED existing user with user_id: 305 - UPDATED existing user with user_id: 304 - UPDATED existing user with user_id: 303 - UPDATED existing user with user_id: 302 - UPDATED existing user with user_id: 301 - UPDATED existing user with user_id: 300 - UPDATED existing user with user_id: 299 - UPDATED existing user with user_id: 297 - UPDATED existing user with user_id: 298 - UPDATED existing user with user_id: 296 - UPDATED existing user with user_id: 295 - UPDATED existing user with user_id: 292 - UPDATED existing user with user_id: 294 - UPDATED existing user with user_id: 293 - UPDATED existing user with user_id: 291 - UPDATED existing user with user_id: 290 - UPDATED existing user with user_id: 289 - UPDATED existing user with user_id: 288 - UPDATED existing user with user_id: 287 - UPDATED existing user with user_id: 286 - UPDATED existing user with user_id: 285 - UPDATED existing user with user_id: 284 - UPDATED existing user with user_id: 283 - UPDATED existing user with user_id: 282 - UPDATED existing user with user_id: 281 - UPDATED existing user with user_id: 280 - UPDATED existing user with user_id: 279 - UPDATED existing user with user_id: 278 - UPDATED existing user with user_id: 277 - UPDATED existing user with user_id: 275 - UPDATED existing user with user_id: 274 - UPDATED existing user with user_id: 276 - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 246 - UPDATED existing user with user_id: 247 - UPDATED existing user with user_id: 245 - UPDATED existing user with user_id: 244 - UPDATED existing user with user_id: 243 - UPDATED existing user with user_id: 242 - UPDATED existing user with user_id: 241 - UPDATED existing user with user_id: 240 - UPDATED existing user with user_id: 238 - UPDATED existing user with user_id: 239 - UPDATED existing user with user_id: 237 - UPDATED existing user with user_id: 236 - UPDATED existing user with user_id: 235 - UPDATED existing user with user_id: 234 - UPDATED existing user with user_id: 233 - UPDATED existing user with user_id: 232 - UPDATED existing user with user_id: 231 - UPDATED existing user with user_id: 228 - UPDATED existing user with user_id: 227 - UPDATED existing user with user_id: 226 - UPDATED existing user with user_id: 224 - UPDATED existing user with user_id: 223 - UPDATED existing user with user_id: 225 - UPDATED existing user with user_id: 222 - UPDATED existing user with user_id: 221 - UPDATED existing user with user_id: 220 - UPDATED existing user with user_id: 219 - UPDATED existing user with user_id: 218 - UPDATED existing user with user_id: 217 - UPDATED existing user with user_id: 216 - UPDATED existing user with user_id: 215 - UPDATED existing user with user_id: 214 - UPDATED existing user with user_id: 213 - UPDATED existing user with user_id: 212 - UPDATED existing user with user_id: 211 - UPDATED existing user with user_id: 210 - UPDATED existing user with user_id: 209 - UPDATED existing user with user_id: 208 - UPDATED existing user with user_id: 207 - UPDATED existing user with user_id: 206 - UPDATED existing user with user_id: 205 - UPDATED existing user with user_id: 204 - UPDATED existing user with user_id: 203 - UPDATED existing user with user_id: 201 - UPDATED existing user with user_id: 197 - UPDATED existing user with user_id: 190 - UPDATED existing user with user_id: 160 - UPDATED existing user with user_id: 159 - UPDATED existing user with user_id: 157 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 155 - UPDATED existing user with user_id: 154 - UPDATED existing user with user_id: 153 - UPDATED existing user with user_id: 152 - UPDATED existing user with user_id: 151 - UPDATED existing user with user_id: 150 - UPDATED existing user with user_id: 149 - UPDATED existing user with user_id: 148 - UPDATED existing user with user_id: 147 - UPDATED existing user with user_id: 146 - UPDATED existing user with user_id: 145 - UPDATED existing user with user_id: 144 - UPDATED existing user with user_id: 143 - UPDATED existing user with user_id: 142 - UPDATED existing user with user_id: 141 - UPDATED existing user with user_id: 140 - UPDATED existing user with user_id: 139 - UPDATED existing user with user_id: 138 - UPDATED existing user with user_id: 137 - UPDATED existing user with user_id: 136 - UPDATED existing user with user_id: 135 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 133 - UPDATED existing user with user_id: 132 - UPDATED existing user with user_id: 131 - UPDATED existing user with user_id: 130 - UPDATED existing user with user_id: 129 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 123 - UPDATED existing user with user_id: 122 - UPDATED existing user with user_id: 121 - UPDATED existing user with user_id: 120 - UPDATED existing user with user_id: 117 - UPDATED existing user with user_id: 116 - UPDATED existing user with user_id: 115 - UPDATED existing user with user_id: 114 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 112 - UPDATED existing user with user_id: 111 - UPDATED existing user with user_id: 110 - UPDATED existing user with user_id: 109 - UPDATED existing user with user_id: 108 - UPDATED existing user with user_id: 107 - UPDATED existing user with user_id: 106 - UPDATED existing user with user_id: 105 - UPDATED existing user with user_id: 104 - UPDATED existing user with user_id: 103 - UPDATED existing user with user_id: 102 - UPDATED existing user with user_id: 101 - UPDATED existing user with user_id: 100 - UPDATED existing user with user_id: 99 - UPDATED existing user with user_id: 98 - UPDATED existing user with user_id: 97 - UPDATED existing user with user_id: 96 - UPDATED existing user with user_id: 95 - UPDATED existing user with user_id: 94 - UPDATED existing user with user_id: 93 - UPDATED existing user with user_id: 92 - UPDATED existing user with user_id: 91 - UPDATED existing user with user_id: 90 - UPDATED existing user with user_id: 89 - UPDATED existing user with user_id: 88 - UPDATED existing user with user_id: 87 - UPDATED existing user with user_id: 86 - UPDATED existing user with user_id: 85 - UPDATED existing user with user_id: 84 - UPDATED existing user with user_id: 82 - UPDATED existing user with user_id: 81 - UPDATED existing user with user_id: 83 - UPDATED existing user with user_id: 80 - UPDATED existing user with user_id: 79 - UPDATED existing user with user_id: 78 - UPDATED existing user with user_id: 77 - UPDATED existing user with user_id: 76 - UPDATED existing user with user_id: 75 - UPDATED existing user with user_id: 74 - UPDATED existing user with user_id: 73 - UPDATED existing user with user_id: 72 - UPDATED existing user with user_id: 71 - UPDATED existing user with user_id: 70 - UPDATED existing user with user_id: 69 - UPDATED existing user with user_id: 67 - UPDATED existing user with user_id: 66 - UPDATED existing user with user_id: 61 - UPDATED existing user with user_id: 59 - UPDATED existing user with user_id: 56 - UPDATED existing user with user_id: 53 - UPDATED existing user with user_id: 51 - UPDATED existing user with user_id: 50 - UPDATED existing user with user_id: 49 - UPDATED existing user with user_id: 48 - UPDATED existing user with user_id: 47 - UPDATED existing user with user_id: 37 - UPDATED existing user with user_id: 35 - UPDATED existing user with user_id: 34 - UPDATED existing user with user_id: 33 - UPDATED existing user with user_id: 32 - UPDATED existing user with user_id: 30 - UPDATED existing user with user_id: 16 - UPDATED existing user with user_id: 4 - UPDATED existing user with user_id: 2 - UPDATED existing user with user_id: 1 --- Synchronization Complete --- Total users from API: 1420 New users inserted: 0 Existing users updated: 1420 Users unchanged: 0 ----------------------------- Script finished. 2025-11-28 06:09:10 - Pausing for 120 seconds... 2025-11-28 06:11:10 - Running insert_allTrucks.py... 2025-11-28 06:11:20 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 670 trucks in MongoDB 2025-11-28 06:11:20 - Pausing for 120 seconds... 2025-11-28 06:13:20 - Running insert_companies.py... 2025-11-28 06:13:28 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-11-28 06:13:28 - Pausing for 120 seconds... 2025-11-28 06:15:28 - Running insert_trailer.py... 2025-11-28 06:15:46 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1218 trailers... Successfully stored 1218 trailers in MongoDB MongoDB connection closed 2025-11-28 06:15:46 - --- All scripts completed successfully. --- 2025-11-29 06:00:02 - --- Starting daily update run --- 2025-11-29 06:00:02 - Running single_state.py... 2025-11-29 06:01:25 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1037 INFO: Document for state_id 3 was found, but no changes were needed. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 520 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1238 INFO: Document for state_id 5 was found, but no changes were needed. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 INFO: Document for state_id 10 was found, but no changes were needed. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 897 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 511 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 SUCCESS: Document for state_id 19 was updated. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 SUCCESS: Document for state_id 21 was updated. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 513 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 734 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 SUCCESS: Document for state_id 26 was updated. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 SUCCESS: Document for state_id 28 was updated. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 SUCCESS: Document for state_id 29 was updated. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 177 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1032 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 SUCCESS: Document for state_id 34 was updated. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 683 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 579 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 570 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 SUCCESS: Document for state_id 39 was updated. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 SUCCESS: Document for state_id 41 was updated. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 676 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1729 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 SUCCESS: Document for state_id 47 was updated. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-11-29 06:01:25 - Pausing for 120 seconds... 2025-11-29 06:03:25 - Running update_users.py... 2025-11-29 06:09:18 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1420 users in API response. Starting sync with database. - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1504 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1288 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 920 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 69 --- Synchronization Complete --- Total users from API: 1420 New users inserted: 0 Existing users updated: 13 Users unchanged: 1407 ----------------------------- Script finished. 2025-11-29 06:09:18 - Pausing for 120 seconds... 2025-11-29 06:11:18 - Running insert_allTrucks.py... 2025-11-29 06:11:28 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 670 trucks in MongoDB 2025-11-29 06:11:28 - Pausing for 120 seconds... 2025-11-29 06:13:28 - Running insert_companies.py... 2025-11-29 06:13:36 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-11-29 06:13:36 - Pausing for 120 seconds... 2025-11-29 06:15:36 - Running insert_trailer.py... 2025-11-29 06:15:56 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1219 trailers... Successfully stored 1219 trailers in MongoDB MongoDB connection closed 2025-11-29 06:15:56 - --- All scripts completed successfully. --- 2025-11-30 06:00:01 - --- Starting daily update run --- 2025-11-30 06:00:01 - Running single_state.py... 2025-11-30 06:01:23 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1037 INFO: Document for state_id 3 was found, but no changes were needed. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 521 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1238 INFO: Document for state_id 5 was found, but no changes were needed. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 INFO: Document for state_id 10 was found, but no changes were needed. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 INFO: Document for state_id 13 was found, but no changes were needed. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 897 INFO: Document for state_id 14 was found, but no changes were needed. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 511 INFO: Document for state_id 16 was found, but no changes were needed. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 INFO: Document for state_id 18 was found, but no changes were needed. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 INFO: Document for state_id 20 was found, but no changes were needed. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 516 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 734 INFO: Document for state_id 25 was found, but no changes were needed. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1032 INFO: Document for state_id 31 was found, but no changes were needed. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 INFO: Document for state_id 33 was found, but no changes were needed. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 683 INFO: Document for state_id 35 was found, but no changes were needed. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 579 INFO: Document for state_id 36 was found, but no changes were needed. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 570 INFO: Document for state_id 38 was found, but no changes were needed. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 676 INFO: Document for state_id 42 was found, but no changes were needed. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1729 INFO: Document for state_id 43 was found, but no changes were needed. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-11-30 06:01:23 - Pausing for 120 seconds... 2025-11-30 06:03:23 - Running update_users.py... 2025-11-30 06:09:10 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1420 users in API response. Starting sync with database. - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 --- Synchronization Complete --- Total users from API: 1420 New users inserted: 0 Existing users updated: 3 Users unchanged: 1417 ----------------------------- Script finished. 2025-11-30 06:09:10 - Pausing for 120 seconds... 2025-11-30 06:11:10 - Running insert_allTrucks.py... 2025-11-30 06:11:20 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 670 trucks in MongoDB 2025-11-30 06:11:20 - Pausing for 120 seconds... 2025-11-30 06:13:20 - Running insert_companies.py... 2025-11-30 06:13:28 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-11-30 06:13:28 - Pausing for 120 seconds... 2025-11-30 06:15:28 - Running insert_trailer.py... 2025-11-30 06:15:47 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1219 trailers... Successfully stored 1219 trailers in MongoDB MongoDB connection closed 2025-11-30 06:15:47 - --- All scripts completed successfully. --- 2025-12-01 06:00:01 - --- Starting daily update run --- 2025-12-01 06:00:01 - Running single_state.py... 2025-12-01 06:01:24 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1037 INFO: Document for state_id 3 was found, but no changes were needed. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 521 INFO: Document for state_id 4 was found, but no changes were needed. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1238 INFO: Document for state_id 5 was found, but no changes were needed. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 625 INFO: Document for state_id 10 was found, but no changes were needed. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 INFO: Document for state_id 13 was found, but no changes were needed. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 897 INFO: Document for state_id 14 was found, but no changes were needed. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 511 INFO: Document for state_id 16 was found, but no changes were needed. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 INFO: Document for state_id 18 was found, but no changes were needed. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 278 INFO: Document for state_id 20 was found, but no changes were needed. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 516 INFO: Document for state_id 24 was found, but no changes were needed. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 734 INFO: Document for state_id 25 was found, but no changes were needed. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 INFO: Document for state_id 30 was found, but no changes were needed. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1033 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 174 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 INFO: Document for state_id 33 was found, but no changes were needed. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 683 INFO: Document for state_id 35 was found, but no changes were needed. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 579 INFO: Document for state_id 36 was found, but no changes were needed. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 570 INFO: Document for state_id 38 was found, but no changes were needed. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 676 INFO: Document for state_id 42 was found, but no changes were needed. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1730 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 296 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-01 06:01:24 - Pausing for 120 seconds... 2025-12-01 06:03:24 - Running update_users.py... 2025-12-01 06:09:26 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1420 users in API response. Starting sync with database. - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 --- Synchronization Complete --- Total users from API: 1420 New users inserted: 0 Existing users updated: 2 Users unchanged: 1418 ----------------------------- Script finished. 2025-12-01 06:09:26 - Pausing for 120 seconds... 2025-12-01 06:11:26 - Running insert_allTrucks.py... 2025-12-01 06:11:36 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 670 trucks in MongoDB 2025-12-01 06:11:36 - Pausing for 120 seconds... 2025-12-01 06:13:36 - Running insert_companies.py... 2025-12-01 06:13:45 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 109 carriers... Successfully stored 109 carriers in MongoDB MongoDB connection closed 2025-12-01 06:13:45 - Pausing for 120 seconds... 2025-12-01 06:15:45 - Running insert_trailer.py... 2025-12-01 06:16:03 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1219 trailers... Successfully stored 1219 trailers in MongoDB MongoDB connection closed 2025-12-01 06:16:03 - --- All scripts completed successfully. --- 2025-12-02 06:00:01 - --- Starting daily update run --- 2025-12-02 06:00:01 - Running single_state.py... 2025-12-02 06:01:24 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1038 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 522 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1241 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 332 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 46 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 626 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1141 INFO: Document for state_id 13 was found, but no changes were needed. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 899 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 514 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 359 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 458 INFO: Document for state_id 18 was found, but no changes were needed. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 279 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 198 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 516 INFO: Document for state_id 24 was found, but no changes were needed. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 735 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 367 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 388 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 180 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1036 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 175 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 INFO: Document for state_id 33 was found, but no changes were needed. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 685 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 581 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 573 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 677 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1735 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 432 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 297 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 298 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-02 06:01:24 - Pausing for 120 seconds... 2025-12-02 06:03:24 - Running update_users.py... 2025-12-02 06:09:00 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1430 users in API response. Starting sync with database. - INSERTED new user with user_id: 1628 - INSERTED new user with user_id: 1626 - INSERTED new user with user_id: 1625 - INSERTED new user with user_id: 1624 - INSERTED new user with user_id: 1623 - INSERTED new user with user_id: 1622 - INSERTED new user with user_id: 1629 - INSERTED new user with user_id: 1627 - INSERTED new user with user_id: 1621 - INSERTED new user with user_id: 1620 - UPDATED existing user with user_id: 1618 - UPDATED existing user with user_id: 1617 - UPDATED existing user with user_id: 1592 - UPDATED existing user with user_id: 1591 - UPDATED existing user with user_id: 1583 - UPDATED existing user with user_id: 1575 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1546 - UPDATED existing user with user_id: 1545 - UPDATED existing user with user_id: 1528 - UPDATED existing user with user_id: 1517 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1475 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1444 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1232 - UPDATED existing user with user_id: 1105 - UPDATED existing user with user_id: 1017 - UPDATED existing user with user_id: 1008 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 992 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 920 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 896 - UPDATED existing user with user_id: 879 - UPDATED existing user with user_id: 782 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 665 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 546 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 462 - UPDATED existing user with user_id: 437 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 310 - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 72 - UPDATED existing user with user_id: 4 --- Synchronization Complete --- Total users from API: 1430 New users inserted: 10 Existing users updated: 48 Users unchanged: 1372 ----------------------------- Script finished. 2025-12-02 06:09:00 - Pausing for 120 seconds... 2025-12-02 06:11:00 - Running insert_allTrucks.py... 2025-12-02 06:11:10 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 673 trucks in MongoDB 2025-12-02 06:11:10 - Pausing for 120 seconds... 2025-12-02 06:13:10 - Running insert_companies.py... 2025-12-02 06:13:18 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 111 carriers... Successfully stored 111 carriers in MongoDB MongoDB connection closed 2025-12-02 06:13:18 - Pausing for 120 seconds... 2025-12-02 06:15:18 - Running insert_trailer.py... 2025-12-02 06:15:36 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1225 trailers... Successfully stored 1225 trailers in MongoDB MongoDB connection closed 2025-12-02 06:15:36 - --- All scripts completed successfully. --- 2025-12-03 06:00:01 - --- Starting daily update run --- 2025-12-03 06:00:01 - Running single_state.py... 2025-12-03 06:01:24 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 488 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1040 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 530 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1243 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 334 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 SUCCESS: Document for state_id 7 was updated. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 627 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1146 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 903 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 518 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 361 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 459 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 306 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 200 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 516 INFO: Document for state_id 24 was found, but no changes were needed. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 738 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 368 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 389 SUCCESS: Document for state_id 28 was updated. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 186 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1040 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 176 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 257 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 110 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 690 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 584 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 281 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 576 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 234 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 151 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 679 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1736 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 464 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 433 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 297 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 301 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 255 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-03 06:01:24 - Pausing for 120 seconds... 2025-12-03 06:03:24 - Running update_users.py... 2025-12-03 06:09:15 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1431 users in API response. Starting sync with database. - INSERTED new user with user_id: 1630 - UPDATED existing user with user_id: 1574 - UPDATED existing user with user_id: 1573 - UPDATED existing user with user_id: 1571 - UPDATED existing user with user_id: 1564 - UPDATED existing user with user_id: 1555 - UPDATED existing user with user_id: 1554 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1444 - UPDATED existing user with user_id: 1415 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1199 - UPDATED existing user with user_id: 1191 - UPDATED existing user with user_id: 1190 - UPDATED existing user with user_id: 1189 - UPDATED existing user with user_id: 1188 - UPDATED existing user with user_id: 1181 - UPDATED existing user with user_id: 1176 - UPDATED existing user with user_id: 1175 - UPDATED existing user with user_id: 1155 - UPDATED existing user with user_id: 1144 - UPDATED existing user with user_id: 1142 - UPDATED existing user with user_id: 1140 - UPDATED existing user with user_id: 1137 - UPDATED existing user with user_id: 1133 - UPDATED existing user with user_id: 1131 - UPDATED existing user with user_id: 1117 - UPDATED existing user with user_id: 1105 - UPDATED existing user with user_id: 1104 - UPDATED existing user with user_id: 1102 - UPDATED existing user with user_id: 1099 - UPDATED existing user with user_id: 1096 - UPDATED existing user with user_id: 1083 - UPDATED existing user with user_id: 1008 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 952 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 931 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 870 - UPDATED existing user with user_id: 809 - UPDATED existing user with user_id: 805 - UPDATED existing user with user_id: 801 - UPDATED existing user with user_id: 790 - UPDATED existing user with user_id: 785 - UPDATED existing user with user_id: 773 - UPDATED existing user with user_id: 697 - UPDATED existing user with user_id: 684 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 671 - UPDATED existing user with user_id: 619 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 462 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 346 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 318 - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 32 - UPDATED existing user with user_id: 4 --- Synchronization Complete --- Total users from API: 1431 New users inserted: 1 Existing users updated: 67 Users unchanged: 1363 ----------------------------- Script finished. 2025-12-03 06:09:15 - Pausing for 120 seconds... 2025-12-03 06:11:15 - Running insert_allTrucks.py... 2025-12-03 06:11:25 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 677 trucks in MongoDB 2025-12-03 06:11:25 - Pausing for 120 seconds... 2025-12-03 06:13:25 - Running insert_companies.py... 2025-12-03 06:13:33 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-03 06:13:33 - Pausing for 120 seconds... 2025-12-03 06:15:33 - Running insert_trailer.py... 2025-12-03 06:15:53 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1229 trailers... Successfully stored 1229 trailers in MongoDB MongoDB connection closed 2025-12-03 06:15:53 - --- All scripts completed successfully. --- 2025-12-04 09:00:01 - --- Starting daily update run --- 2025-12-04 09:00:01 - Running single_state.py... 2025-12-04 09:01:20 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 489 SUCCESS: Document for state_id 1 was updated. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1046 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 535 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1245 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 334 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 40 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 281 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 631 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1155 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 911 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 521 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 363 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 460 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 280 INFO: Document for state_id 20 was found, but no changes were needed. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 56 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 308 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 201 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 517 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 742 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 156 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 370 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 391 SUCCESS: Document for state_id 28 was updated. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 187 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1045 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 177 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 258 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 112 SUCCESS: Document for state_id 34 was updated. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 695 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 586 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 282 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 579 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 236 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 152 SUCCESS: Document for state_id 41 was updated. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 681 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1746 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 465 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 435 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 327 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 299 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 302 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 256 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-04 09:01:20 - Pausing for 120 seconds... 2025-12-04 09:03:20 - Running update_users.py... 2025-12-04 09:09:09 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1433 users in API response. Starting sync with database. - INSERTED new user with user_id: 1632 - INSERTED new user with user_id: 1631 - UPDATED existing user with user_id: 1618 - UPDATED existing user with user_id: 1617 - UPDATED existing user with user_id: 1580 - UPDATED existing user with user_id: 1575 - UPDATED existing user with user_id: 1570 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1545 - UPDATED existing user with user_id: 1517 - UPDATED existing user with user_id: 1498 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1468 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1291 - UPDATED existing user with user_id: 1197 - UPDATED existing user with user_id: 1118 - UPDATED existing user with user_id: 1098 - UPDATED existing user with user_id: 1052 - UPDATED existing user with user_id: 1008 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 920 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 801 - UPDATED existing user with user_id: 775 - UPDATED existing user with user_id: 773 - UPDATED existing user with user_id: 719 - UPDATED existing user with user_id: 713 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 621 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 546 - UPDATED existing user with user_id: 399 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 273 - UPDATED existing user with user_id: 190 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 94 - UPDATED existing user with user_id: 69 - UPDATED existing user with user_id: 30 - UPDATED existing user with user_id: 2 --- Synchronization Complete --- Total users from API: 1433 New users inserted: 2 Existing users updated: 48 Users unchanged: 1383 ----------------------------- Script finished. 2025-12-04 09:09:09 - Pausing for 120 seconds... 2025-12-04 09:11:09 - Running insert_allTrucks.py... 2025-12-04 09:11:20 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 678 trucks in MongoDB 2025-12-04 09:11:20 - Pausing for 120 seconds... 2025-12-04 09:13:20 - Running insert_companies.py... 2025-12-04 09:13:28 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-04 09:13:28 - Pausing for 120 seconds... 2025-12-04 09:15:28 - Running insert_trailer.py... 2025-12-04 09:15:47 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1233 trailers... Successfully stored 1233 trailers in MongoDB MongoDB connection closed 2025-12-04 09:15:47 - --- All scripts completed successfully. --- 2025-12-05 09:00:01 - --- Starting daily update run --- 2025-12-05 09:00:01 - Running single_state.py... 2025-12-05 09:01:22 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 489 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1049 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 536 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1247 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 337 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 41 SUCCESS: Document for state_id 8 was updated. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 283 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 633 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 319 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1158 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 919 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 415 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 522 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 364 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 460 INFO: Document for state_id 18 was found, but no changes were needed. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 282 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 57 SUCCESS: Document for state_id 21 was updated. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 313 SUCCESS: Document for state_id 22 was updated. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 201 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 517 INFO: Document for state_id 24 was found, but no changes were needed. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 746 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 158 SUCCESS: Document for state_id 26 was updated. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 372 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 391 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 194 SUCCESS: Document for state_id 30 was updated. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1051 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 SUCCESS: Document for state_id 32 was updated. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 259 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 116 SUCCESS: Document for state_id 34 was updated. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 698 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 587 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 283 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 587 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 235 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 152 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 682 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1748 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 467 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 437 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 329 SUCCESS: Document for state_id 47 was updated. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 299 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 SUCCESS: Document for state_id 49 was updated. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 257 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-05 09:01:22 - Pausing for 120 seconds... 2025-12-05 09:03:22 - Running update_users.py... 2025-12-05 09:09:14 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1437 users in API response. Starting sync with database. - INSERTED new user with user_id: 1636 - INSERTED new user with user_id: 1633 - INSERTED new user with user_id: 1635 - INSERTED new user with user_id: 1634 - UPDATED existing user with user_id: 1618 - UPDATED existing user with user_id: 1592 - UPDATED existing user with user_id: 1583 - UPDATED existing user with user_id: 1573 - UPDATED existing user with user_id: 1571 - UPDATED existing user with user_id: 1565 - UPDATED existing user with user_id: 1566 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1554 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1534 - UPDATED existing user with user_id: 1528 - UPDATED existing user with user_id: 1520 - UPDATED existing user with user_id: 1500 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1465 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1291 - UPDATED existing user with user_id: 1248 - UPDATED existing user with user_id: 1232 - UPDATED existing user with user_id: 1118 - UPDATED existing user with user_id: 1030 - UPDATED existing user with user_id: 1010 - UPDATED existing user with user_id: 1002 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 936 - UPDATED existing user with user_id: 920 - UPDATED existing user with user_id: 906 - UPDATED existing user with user_id: 896 - UPDATED existing user with user_id: 782 - UPDATED existing user with user_id: 713 - UPDATED existing user with user_id: 697 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 462 - UPDATED existing user with user_id: 399 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 156 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 122 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 94 - UPDATED existing user with user_id: 90 - UPDATED existing user with user_id: 32 --- Synchronization Complete --- Total users from API: 1437 New users inserted: 4 Existing users updated: 49 Users unchanged: 1384 ----------------------------- Script finished. 2025-12-05 09:09:14 - Pausing for 120 seconds... 2025-12-05 09:11:14 - Running insert_allTrucks.py... 2025-12-05 09:11:25 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 678 trucks in MongoDB 2025-12-05 09:11:25 - Pausing for 120 seconds... 2025-12-05 09:13:25 - Running insert_companies.py... 2025-12-05 09:13:33 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-05 09:13:33 - Pausing for 120 seconds... 2025-12-05 09:15:33 - Running insert_trailer.py... 2025-12-05 09:15:52 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1239 trailers... Successfully stored 1239 trailers in MongoDB MongoDB connection closed 2025-12-05 09:15:52 - --- All scripts completed successfully. --- 2025-12-06 09:00:01 - --- Starting daily update run --- 2025-12-06 09:00:01 - Running single_state.py... 2025-12-06 09:01:21 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 490 SUCCESS: Document for state_id 1 was updated. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1050 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 539 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1252 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 338 SUCCESS: Document for state_id 6 was updated. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 41 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 SUCCESS: Document for state_id 9 was updated. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 636 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 322 SUCCESS: Document for state_id 12 was updated. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1162 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 921 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 416 SUCCESS: Document for state_id 15 was updated. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 523 SUCCESS: Document for state_id 16 was updated. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 365 SUCCESS: Document for state_id 17 was updated. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 462 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 285 SUCCESS: Document for state_id 20 was updated. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 57 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 313 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 202 SUCCESS: Document for state_id 23 was updated. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 519 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 749 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 158 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 373 SUCCESS: Document for state_id 27 was updated. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 391 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 194 INFO: Document for state_id 30 was found, but no changes were needed. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1052 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 260 SUCCESS: Document for state_id 33 was updated. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 117 SUCCESS: Document for state_id 34 was updated. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 707 SUCCESS: Document for state_id 35 was updated. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 587 INFO: Document for state_id 36 was found, but no changes were needed. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 SUCCESS: Document for state_id 37 was updated. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 589 SUCCESS: Document for state_id 38 was updated. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 238 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 152 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 686 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1754 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 469 SUCCESS: Document for state_id 44 was updated. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 438 SUCCESS: Document for state_id 46 was updated. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 331 SUCCESS: Document for state_id 47 was updated. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 301 SUCCESS: Document for state_id 48 was updated. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 261 SUCCESS: Document for state_id 50 was updated. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-06 09:01:21 - Pausing for 120 seconds... 2025-12-06 09:03:21 - Running update_users.py... 2025-12-06 09:09:11 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1439 users in API response. Starting sync with database. - INSERTED new user with user_id: 1638 - INSERTED new user with user_id: 1637 - UPDATED existing user with user_id: 1618 - UPDATED existing user with user_id: 1611 - UPDATED existing user with user_id: 1591 - UPDATED existing user with user_id: 1590 - UPDATED existing user with user_id: 1589 - UPDATED existing user with user_id: 1563 - UPDATED existing user with user_id: 1552 - UPDATED existing user with user_id: 1523 - UPDATED existing user with user_id: 1500 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 1448 - UPDATED existing user with user_id: 1360 - UPDATED existing user with user_id: 1031 - UPDATED existing user with user_id: 950 - UPDATED existing user with user_id: 811 - UPDATED existing user with user_id: 697 - UPDATED existing user with user_id: 682 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 593 - UPDATED existing user with user_id: 561 - UPDATED existing user with user_id: 548 - UPDATED existing user with user_id: 547 - UPDATED existing user with user_id: 546 - UPDATED existing user with user_id: 545 - UPDATED existing user with user_id: 526 - UPDATED existing user with user_id: 415 - UPDATED existing user with user_id: 383 - UPDATED existing user with user_id: 343 - UPDATED existing user with user_id: 204 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 113 - UPDATED existing user with user_id: 32 --- Synchronization Complete --- Total users from API: 1439 New users inserted: 2 Existing users updated: 32 Users unchanged: 1405 ----------------------------- Script finished. 2025-12-06 09:09:11 - Pausing for 120 seconds... 2025-12-06 09:11:11 - Running insert_allTrucks.py... 2025-12-06 09:11:21 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 681 trucks in MongoDB 2025-12-06 09:11:21 - Pausing for 120 seconds... 2025-12-06 09:13:21 - Running insert_companies.py... 2025-12-06 09:13:29 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-06 09:13:29 - Pausing for 120 seconds... 2025-12-06 09:15:29 - Running insert_trailer.py... 2025-12-06 09:15:47 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1246 trailers... Successfully stored 1246 trailers in MongoDB MongoDB connection closed 2025-12-06 09:15:47 - --- All scripts completed successfully. --- 2025-12-07 09:00:01 - --- Starting daily update run --- 2025-12-07 09:00:01 - Running single_state.py... 2025-12-07 09:01:20 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 490 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1050 INFO: Document for state_id 3 was found, but no changes were needed. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 540 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1255 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 338 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 41 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 638 SUCCESS: Document for state_id 10 was updated. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 322 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1163 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 922 SUCCESS: Document for state_id 14 was updated. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 416 INFO: Document for state_id 15 was found, but no changes were needed. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 523 INFO: Document for state_id 16 was found, but no changes were needed. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 365 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 SUCCESS: Document for state_id 18 was updated. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 285 INFO: Document for state_id 20 was found, but no changes were needed. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 57 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 313 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 202 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 520 SUCCESS: Document for state_id 24 was updated. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 750 SUCCESS: Document for state_id 25 was updated. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 158 INFO: Document for state_id 26 was found, but no changes were needed. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 373 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 391 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 194 INFO: Document for state_id 30 was found, but no changes were needed. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1053 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 260 INFO: Document for state_id 33 was found, but no changes were needed. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 117 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 707 INFO: Document for state_id 35 was found, but no changes were needed. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 587 INFO: Document for state_id 36 was found, but no changes were needed. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 589 INFO: Document for state_id 38 was found, but no changes were needed. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 238 INFO: Document for state_id 40 was found, but no changes were needed. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 152 INFO: Document for state_id 41 was found, but no changes were needed. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 688 SUCCESS: Document for state_id 42 was updated. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1755 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 469 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 438 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 331 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 301 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 261 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-07 09:01:20 - Pausing for 120 seconds... 2025-12-07 09:03:20 - Running update_users.py... 2025-12-07 09:09:10 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1440 users in API response. Starting sync with database. - INSERTED new user with user_id: 1639 - UPDATED existing user with user_id: 1565 - UPDATED existing user with user_id: 1508 - UPDATED existing user with user_id: 1372 - UPDATED existing user with user_id: 677 - UPDATED existing user with user_id: 430 - UPDATED existing user with user_id: 399 - UPDATED existing user with user_id: 342 --- Synchronization Complete --- Total users from API: 1440 New users inserted: 1 Existing users updated: 7 Users unchanged: 1432 ----------------------------- Script finished. 2025-12-07 09:09:10 - Pausing for 120 seconds... 2025-12-07 09:11:10 - Running insert_allTrucks.py... 2025-12-07 09:11:20 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 681 trucks in MongoDB 2025-12-07 09:11:20 - Pausing for 120 seconds... 2025-12-07 09:13:20 - Running insert_companies.py... 2025-12-07 09:13:29 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-07 09:13:29 - Pausing for 120 seconds... 2025-12-07 09:15:29 - Running insert_trailer.py... 2025-12-07 09:15:48 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1246 trailers... Successfully stored 1246 trailers in MongoDB MongoDB connection closed 2025-12-07 09:15:48 - --- All scripts completed successfully. --- 2025-12-08 09:00:02 - --- Starting daily update run --- 2025-12-08 09:00:02 - Running single_state.py... 2025-12-08 09:01:21 - Output from single_state.py: --- Starting bulk update for all states (1-60) --- --- Processing State ID: 1 --- Found existing document for state_id 1. Successfully fetched data for state_id 1 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 490 INFO: Document for state_id 1 was found, but no changes were needed. --- Processing State ID: 2 --- Found existing document for state_id 2. Successfully fetched data for state_id 2 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 11 INFO: Document for state_id 2 was found, but no changes were needed. --- Processing State ID: 3 --- Found existing document for state_id 3. Successfully fetched data for state_id 3 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1051 SUCCESS: Document for state_id 3 was updated. --- Processing State ID: 4 --- Found existing document for state_id 4. Successfully fetched data for state_id 4 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 541 SUCCESS: Document for state_id 4 was updated. --- Processing State ID: 5 --- Found existing document for state_id 5. Successfully fetched data for state_id 5 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1261 SUCCESS: Document for state_id 5 was updated. --- Processing State ID: 6 --- Found existing document for state_id 6. Successfully fetched data for state_id 6 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 338 INFO: Document for state_id 6 was found, but no changes were needed. --- Processing State ID: 7 --- Found existing document for state_id 7. Successfully fetched data for state_id 7 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 47 INFO: Document for state_id 7 was found, but no changes were needed. --- Processing State ID: 8 --- Found existing document for state_id 8. Successfully fetched data for state_id 8 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 41 INFO: Document for state_id 8 was found, but no changes were needed. --- Processing State ID: 9 --- Found existing document for state_id 9. Successfully fetched data for state_id 9 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 INFO: Document for state_id 9 was found, but no changes were needed. --- Processing State ID: 10 --- Found existing document for state_id 10. Successfully fetched data for state_id 10 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 638 INFO: Document for state_id 10 was found, but no changes were needed. --- Processing State ID: 11 --- Found existing document for state_id 11. Successfully fetched data for state_id 11 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 11 was found, but no changes were needed. --- Processing State ID: 12 --- Found existing document for state_id 12. Successfully fetched data for state_id 12 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 322 INFO: Document for state_id 12 was found, but no changes were needed. --- Processing State ID: 13 --- Found existing document for state_id 13. Successfully fetched data for state_id 13 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1164 SUCCESS: Document for state_id 13 was updated. --- Processing State ID: 14 --- Found existing document for state_id 14. Successfully fetched data for state_id 14 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 922 INFO: Document for state_id 14 was found, but no changes were needed. --- Processing State ID: 15 --- Found existing document for state_id 15. Successfully fetched data for state_id 15 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 417 SUCCESS: Document for state_id 15 was updated. --- Processing State ID: 16 --- Found existing document for state_id 16. Successfully fetched data for state_id 16 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 523 INFO: Document for state_id 16 was found, but no changes were needed. --- Processing State ID: 17 --- Found existing document for state_id 17. Successfully fetched data for state_id 17 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 365 INFO: Document for state_id 17 was found, but no changes were needed. --- Processing State ID: 18 --- Found existing document for state_id 18. Successfully fetched data for state_id 18 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 463 INFO: Document for state_id 18 was found, but no changes were needed. --- Processing State ID: 19 --- Found existing document for state_id 19. Successfully fetched data for state_id 19 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 20 INFO: Document for state_id 19 was found, but no changes were needed. --- Processing State ID: 20 --- Found existing document for state_id 20. Successfully fetched data for state_id 20 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 285 INFO: Document for state_id 20 was found, but no changes were needed. --- Processing State ID: 21 --- Found existing document for state_id 21. Successfully fetched data for state_id 21 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 57 INFO: Document for state_id 21 was found, but no changes were needed. --- Processing State ID: 22 --- Found existing document for state_id 22. Successfully fetched data for state_id 22 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 313 INFO: Document for state_id 22 was found, but no changes were needed. --- Processing State ID: 23 --- Found existing document for state_id 23. Successfully fetched data for state_id 23 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 202 INFO: Document for state_id 23 was found, but no changes were needed. --- Processing State ID: 24 --- Found existing document for state_id 24. Successfully fetched data for state_id 24 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 520 INFO: Document for state_id 24 was found, but no changes were needed. --- Processing State ID: 25 --- Found existing document for state_id 25. Successfully fetched data for state_id 25 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 750 INFO: Document for state_id 25 was found, but no changes were needed. --- Processing State ID: 26 --- Found existing document for state_id 26. Successfully fetched data for state_id 26 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 159 SUCCESS: Document for state_id 26 was updated. --- Processing State ID: 27 --- Found existing document for state_id 27. Successfully fetched data for state_id 27 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 373 INFO: Document for state_id 27 was found, but no changes were needed. --- Processing State ID: 28 --- Found existing document for state_id 28. Successfully fetched data for state_id 28 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 391 INFO: Document for state_id 28 was found, but no changes were needed. --- Processing State ID: 29 --- Found existing document for state_id 29. Successfully fetched data for state_id 29 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 21 INFO: Document for state_id 29 was found, but no changes were needed. --- Processing State ID: 30 --- Found existing document for state_id 30. Successfully fetched data for state_id 30 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 194 INFO: Document for state_id 30 was found, but no changes were needed. --- Processing State ID: 31 --- Found existing document for state_id 31. Successfully fetched data for state_id 31 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1055 SUCCESS: Document for state_id 31 was updated. --- Processing State ID: 32 --- Found existing document for state_id 32. Successfully fetched data for state_id 32 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 178 INFO: Document for state_id 32 was found, but no changes were needed. --- Processing State ID: 33 --- Found existing document for state_id 33. Successfully fetched data for state_id 33 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 260 INFO: Document for state_id 33 was found, but no changes were needed. --- Processing State ID: 34 --- Found existing document for state_id 34. Successfully fetched data for state_id 34 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 117 INFO: Document for state_id 34 was found, but no changes were needed. --- Processing State ID: 35 --- Found existing document for state_id 35. Successfully fetched data for state_id 35 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 707 INFO: Document for state_id 35 was found, but no changes were needed. --- Processing State ID: 36 --- Found existing document for state_id 36. Successfully fetched data for state_id 36 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 588 SUCCESS: Document for state_id 36 was updated. --- Processing State ID: 37 --- Found existing document for state_id 37. Successfully fetched data for state_id 37 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 284 INFO: Document for state_id 37 was found, but no changes were needed. --- Processing State ID: 38 --- Found existing document for state_id 38. Successfully fetched data for state_id 38 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 589 INFO: Document for state_id 38 was found, but no changes were needed. --- Processing State ID: 39 --- Found existing document for state_id 39. Successfully fetched data for state_id 39 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 6 INFO: Document for state_id 39 was found, but no changes were needed. --- Processing State ID: 40 --- Found existing document for state_id 40. Successfully fetched data for state_id 40 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 239 SUCCESS: Document for state_id 40 was updated. --- Processing State ID: 41 --- Found existing document for state_id 41. Successfully fetched data for state_id 41 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 153 SUCCESS: Document for state_id 41 was updated. --- Processing State ID: 42 --- Found existing document for state_id 42. Successfully fetched data for state_id 42 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 688 INFO: Document for state_id 42 was found, but no changes were needed. --- Processing State ID: 43 --- Found existing document for state_id 43. Successfully fetched data for state_id 43 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 1756 SUCCESS: Document for state_id 43 was updated. --- Processing State ID: 44 --- Found existing document for state_id 44. Successfully fetched data for state_id 44 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 469 INFO: Document for state_id 44 was found, but no changes were needed. --- Processing State ID: 45 --- Found existing document for state_id 45. Successfully fetched data for state_id 45 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 12 INFO: Document for state_id 45 was found, but no changes were needed. --- Processing State ID: 46 --- Found existing document for state_id 46. Successfully fetched data for state_id 46 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 438 INFO: Document for state_id 46 was found, but no changes were needed. --- Processing State ID: 47 --- Found existing document for state_id 47. Successfully fetched data for state_id 47 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 331 INFO: Document for state_id 47 was found, but no changes were needed. --- Processing State ID: 48 --- Found existing document for state_id 48. Successfully fetched data for state_id 48 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 301 INFO: Document for state_id 48 was found, but no changes were needed. --- Processing State ID: 49 --- Found existing document for state_id 49. Successfully fetched data for state_id 49 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 303 INFO: Document for state_id 49 was found, but no changes were needed. --- Processing State ID: 50 --- Found existing document for state_id 50. Successfully fetched data for state_id 50 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 261 INFO: Document for state_id 50 was found, but no changes were needed. --- Processing State ID: 51 --- Found existing document for state_id 51. Successfully fetched data for state_id 51 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 51 was found, but no changes were needed. --- Processing State ID: 52 --- Found existing document for state_id 52. Successfully fetched data for state_id 52 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 52 was found, but no changes were needed. --- Processing State ID: 53 --- Found existing document for state_id 53. Successfully fetched data for state_id 53 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 53 was found, but no changes were needed. --- Processing State ID: 54 --- Found existing document for state_id 54. Successfully fetched data for state_id 54 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 54 was found, but no changes were needed. --- Processing State ID: 55 --- Found existing document for state_id 55. Successfully fetched data for state_id 55 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 55 was found, but no changes were needed. --- Processing State ID: 56 --- Found existing document for state_id 56. Successfully fetched data for state_id 56 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 56 was found, but no changes were needed. --- Processing State ID: 57 --- Found existing document for state_id 57. Successfully fetched data for state_id 57 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 57 was found, but no changes were needed. --- Processing State ID: 58 --- Found existing document for state_id 58. Successfully fetched data for state_id 58 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 58 was found, but no changes were needed. --- Processing State ID: 59 --- Found existing document for state_id 59. Successfully fetched data for state_id 59 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 59 was found, but no changes were needed. --- Processing State ID: 60 --- Found existing document for state_id 60. Successfully fetched data for state_id 60 from API. Filtered 33 fields to update. Adding/Updating 'total_permit' with value: 0 INFO: Document for state_id 60 was found, but no changes were needed. --- Bulk update process finished. --- All states processed successfully. 2025-12-08 09:01:21 - Pausing for 120 seconds... 2025-12-08 09:03:21 - Running update_users.py... 2025-12-08 09:09:05 - Output from update_users.py: Starting user synchronization script... Successfully connected to MongoDB. Fetching user data from API... Found 1440 users in API response. Starting sync with database. - UPDATED existing user with user_id: 1592 - UPDATED existing user with user_id: 1583 - UPDATED existing user with user_id: 1573 - UPDATED existing user with user_id: 1571 - UPDATED existing user with user_id: 1489 - UPDATED existing user with user_id: 134 - UPDATED existing user with user_id: 124 - UPDATED existing user with user_id: 94 - UPDATED existing user with user_id: 32 --- Synchronization Complete --- Total users from API: 1440 New users inserted: 0 Existing users updated: 9 Users unchanged: 1431 ----------------------------- Script finished. 2025-12-08 09:09:05 - Pausing for 120 seconds... 2025-12-08 09:11:05 - Running insert_allTrucks.py... 2025-12-08 09:11:16 - Output from insert_allTrucks.py: Cleared existing trucks collection Successfully stored 681 trucks in MongoDB 2025-12-08 09:11:16 - Pausing for 120 seconds... 2025-12-08 09:13:16 - Running insert_companies.py... 2025-12-08 09:13:24 - Output from insert_companies.py: Cleared existing carriers collection Fetching carrier data from API... Processing 112 carriers... Successfully stored 112 carriers in MongoDB MongoDB connection closed 2025-12-08 09:13:24 - Pausing for 120 seconds... 2025-12-08 09:15:24 - Running insert_trailer.py... 2025-12-08 09:15:45 - Output from insert_trailer.py: Cleared existing trailers collection Fetching data from API... Processing 1246 trailers... Successfully stored 1246 trailers in MongoDB MongoDB connection closed 2025-12-08 09:15:45 - --- All scripts completed successfully. ---