updating the patterns section