update \% or \% to % and {% to { %