update for cout