Added the update function for the edgeList. One Bug remains, when threshold is greater than any link cost and everything should be aggregated we crash with key error 0
Some wrong edgeWeights are stored in the updated neighborHoodDict