update client-side demo