Update pattern_translate