updates repetitions when checkbox checked