CoursePress Pro 2.0 breaking code

Long story short I created code in version 1.0 that was functioning and now with the upgrade to 2.0 my code is no longer working and because it's new, there isn't any documentation that I can find on what replaces this code. I'm listing the a few of the things that appear right now to be broken and I'm hoping you can provide me with the replacement code for version 2.0

Automatic Course Enrollment
$student = new Student($USER->data->ID);
$student->enroll_in_course($CourseID);

Fire action once course is completed
add_action('coursepress_student_course_completed' , 'update_course_status' , 10 , 2) ;