Modify courseplan api