change pattern to new custom value