updates. stats logging. throughput improvements