Calculating PageRank in a changing network with added or removed edges