parse error after update with preg_match