implement team delete