update output format & optimistic socket line