rename an adapter.