update insert sql to use duplicate single quote standard