Update the repeating patterns.