Added logic to not create new relations when you update existing courses and sections