Update pattern_translator