change the loop settings