update atomFormatter to comply with new interface