udpate output