Refactoring `update_*` methods.

Changing update methods to public methods and adding new
methods to update_bonds attribute of atom objects.
chaning NNN to Natoms
updating atom tests
Fixing calls to _update_* methods.