update longPoll and echobot example