Added ability to update a todo item