Quench dynamics of a superfluid Fermi gas