update id sqlname for delete