update course status