add department and course data on entry