change sendsqldata to a better one