update design-pattern.md