update io result handling