loops update