update escaped characters