Update region_analysis.py