update loop
fix multiple-collapse bug