Update loops num