fix the primary key is wrong, cause the update and delete failed