upgrade demo to webservice