updating parallel writer