set course link according to plugin status in course