updating demos and code