update time table and rules