Fix errors in contributed demo update