added condition for update streamError files depending by the existence of complete stream