update Patterns