Finished course management function
Update