canvas demo update