update van loop in Calculator