change course status and some functionality