Update the tags and the regular expression