feature update: made the update_transientbucketsummaries_flags.py script 35% more efficient