Instead of using dict.update (Which did not sum the values) use collections.Counter to add ref dicts