update regex in OC