Updated TodoItem sample to edit items