update demo server/client