update todo.done with db.