updating design patterns