When duplicate reg no is given student name and email is updated