Safe email and student id updating