update escape characters