Updating a listener in the CLI