Fixed the enrollments not updating problem