update demo to current code state