update proper escape method