updating web demo to use new error messages