Updating follow algorithm.