adds department and relationship to teaching unit