Adding unique email check on update