update add period to timetable_id