add id to the todo after adding to db