update design pattern notes