switch host, add, delete