fix and add exam completion info in course exams table