Update generate_density_json.pl