hqpc design patterns update