update pattern package