What you were taught
The atom is the smallest fundamental building block of matter. It is indivisible and cannot be broken down into smaller components.
What we know now
An atom is the smallest unit of an element that can take part in a chemical change. It is not indivisible. In 1897 J. J. Thomson identified the electron, a particle much smaller than an atom. Atoms contain electrons around a nucleus of protons and neutrons, and those protons and neutrons are made of quarks. Quarks and electrons appear indivisible, and they are not the only elementary particles in the Standard Model.
Updated understanding emerged around 1897