update course db