update timeperiod to every hour