Added $timeouts around updateListeners. Synchronization works better. Still some issues with the tags.