update the zmqDemo for new support of UI