addking timetable entries to the database