Updated demo to stop using deprecated options