best could be to drain most of water from tank in to large container
remove fish
then using a net remove top 1/2" of gravel to another container of tank water
then remove rest of gravel(the smelly stuff)
then redo tank
the good bacteria live in the top of substrate
using the net helps to clean the gravel and leave the muck behind