updates from pattern library submod