Update largest and second largest