updates for page rank