Updated on the event listener