Updated the poller to get the id