update and delete use sql 实现