update printed output