for loop update for std c