Change update algorithm