I have the following problem:
Let $R$ be a ring and $a\subset R$ an ideal with $a\subset J(R)$, where $$J(R):=\bigcap_{m\,\in\,\operatorname{mSpec} R} m.$$ Let $M$ be an $R$-module and $N$ a finitely generated $R$-module, $f:M\rightarrow N$ an $R$-module homomorphism and $\overline{f}:M/aM\rightarrow N/aN$ the homomorphism which is induced by $f$.
Show that the following statements are equivalent:
$i)\, f$ is surjective
$ii)\, \overline{f}$ is surjective
I thought about using the universal property of quotient modules
$$ \begin{matrix} M & \xrightarrow{f} & N & \\ \quad \downarrow\pi_M & \nearrow_\tilde{f} \\ M/aM \end{matrix} $$
But I'm not sure if I can use: $\overline{f}=\pi_N\circ\tilde{f}$. Since $\pi_N$ is surjective, the composition of $\pi_N\circ\tilde{f}$ should be surjective, because $\tilde{f}\circ \pi_M$ is surjective. Is that correct? How can I show the other direction? Thanks in advance.