Update singleton pattern.md