setEducation functional