accepting edits to todos and deleting todos