Update factory_pattern.md