Add escape and unescape api
update code
code update