update print output