refactored the topology listener notification.