updated todo sample for 2.0 release