Whenever a creature dies, tap all untapped creatures that share a creature type with it or untap all tapped creatures that share a creature type with it.
You choose whether to tap or untap during resolution.
You either tap all of them or untap all of them. You can’t tap some and untap others.