update regex pattens