updates to patterns