update time every hour