fix wrong update when have empty student_id, change uniq key to be name