update cout