update output text