updated the Atom example