updated topology_printer example