update catch process.stdout