added edit controller for todo list
minor change