updated writein progress