update rates once per second