updating the delete member routine to remove TEA stuff too