Updated demoagent