rewrite update todo and item name.