Updating event listeners