got editing of todos working nicely