change affiliation settings and certificate generation