update course sign logic