added update_regex and update_blacklist