update every ms with a delay of ms