Updated the listener