update regular expression