Update index controller and view to display sum and avg by intersection