I’m considering upgrading my tank from 3 gallon to 10 gallon. Will my filter and heater work

I’m currently using that Top Fin All-in-One 3 gallon tank but feel like it’s too small. Especially because I’ve added a snail and want to add some shrimp. Will I need to buy a new filter and heater as well?